Urara-Blog/node_modules/.pnpm-store/v3/files/44/0e0bb6b503e6e1fdfa2d7e5c052a3dadb22522fff6489310c893c3e40e77d12a70a72a5856976661166dd591b23245f99e14064646b13fda36e201be8ef530
2022-08-14 01:14:53 +08:00

21 lines
393 B
Text

var Hash = require('./_Hash'),
ListCache = require('./_ListCache'),
Map = require('./_Map');
/**
* Removes all key-value entries from the map.
*
* @private
* @name clear
* @memberOf MapCache
*/
function mapCacheClear() {
this.size = 0;
this.__data__ = {
'hash': new Hash,
'map': new (Map || ListCache),
'string': new Hash
};
}
module.exports = mapCacheClear;