Files
lodash/_mapCacheClear.js
John-David Dalton 6f47eae67b Bump to v4.12.0.
2016-05-08 12:21:54 -07:00

20 lines
378 B
JavaScript

define(['./_Hash', './_ListCache', './_Map'], function(Hash, ListCache, 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
};
}
return mapCacheClear;
});