dotfiles/.vscode/extensions/vscodevim.vim-0.2.0/node_modules/lodash/_mapCacheClear.js

21 lines
376 B
JavaScript
Raw Normal View History

2016-09-11 09:29:13 +01:00
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.__data__ = {
'hash': new Hash,
'map': new (Map || ListCache),
'string': new Hash
};
}
module.exports = mapCacheClear;