1var mapDelete = require('./mapDelete'), 2 mapGet = require('./mapGet'), 3 mapHas = require('./mapHas'), 4 mapSet = require('./mapSet'); 5 6/** 7 * Creates a cache object to store key/value pairs. 8 * 9 * @private 10 * @static 11 * @name Cache 12 * @memberOf _.memoize 13 */ 14function MapCache() { 15 this.__data__ = {}; 16} 17 18// Add functions to the `Map` cache. 19MapCache.prototype['delete'] = mapDelete; 20MapCache.prototype.get = mapGet; 21MapCache.prototype.has = mapHas; 22MapCache.prototype.set = mapSet; 23 24module.exports = MapCache; 25 26