2 * Sets `value` to `key` of the cache.
6 * @memberOf _.memoize.Cache
7 * @param {string} key The key of the value to cache.
8 * @param {*} value The value to cache.
9 * @returns {Object} Returns the cache object.
11 function mapSet(key, value) {
12 if (key != '__proto__') {
13 this.__data__[key] = value;
18 module.exports = mapSet;