GoScrobble/web/node_modules/lodash-es/_hashClear.js

16 lines
279 B
JavaScript

import nativeCreate from './_nativeCreate.js';
/**
* Removes all key-value entries from the hash.
*
* @private
* @name clear
* @memberOf Hash
*/
function hashClear() {
this.__data__ = nativeCreate ? nativeCreate(null) : {};
this.size = 0;
}
export default hashClear;