Icard/angular-clarity-master(work.../node_modules/lodash-es/_hashClear.js

16 lines
279 B
JavaScript
Raw Permalink Normal View History

2024-07-16 14:55:36 +00:00
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;