This commit is contained in:
Stephen Franceschelli
2019-07-15 11:40:40 -04:00
parent 98cf58a763
commit f26956e368
7050 changed files with 1866467 additions and 10 deletions

21
node_modules/lodash/_mapCacheClear.js generated vendored Normal file
View File

@@ -0,0 +1,21 @@
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;