fdsfd
This commit is contained in:
parent
628618df89
commit
e031240dff
3749 changed files with 1120848 additions and 1 deletions
21
node_modules/lodash/_mapCacheClear.js
generated
vendored
Normal file
21
node_modules/lodash/_mapCacheClear.js
generated
vendored
Normal 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;
|
Loading…
Add table
Add a link
Reference in a new issue