Sha256: 0ea67b467fa92d69ac4e2611a8123837b5aa1a22170d13ef0bd90f1d3e914049
Contents?: true
Size: 520 Bytes
Versions: 167
Compression:
Stored size: 520 Bytes
Contents
var mapDelete = require('./mapDelete'), mapGet = require('./mapGet'), mapHas = require('./mapHas'), mapSet = require('./mapSet'); /** * Creates a cache object to store key/value pairs. * * @private * @static * @name Cache * @memberOf _.memoize */ function MapCache() { this.__data__ = {}; } // Add functions to the `Map` cache. MapCache.prototype['delete'] = mapDelete; MapCache.prototype.get = mapGet; MapCache.prototype.has = mapHas; MapCache.prototype.set = mapSet; module.exports = MapCache;
Version data entries
167 entries across 87 versions & 9 rubygems