1 var getMapData = require('./_getMapData');
4 * Sets the map `key` to `value`.
9 * @param {string} key The key of the value to set.
10 * @param {*} value The value to set.
11 * @returns {Object} Returns the map cache instance.
13 function mapCacheSet(key, value) {
14 var data = getMapData(this, key),
18 this.size += data.size == size ? 0 : 1;
22 module.exports = mapCacheSet;