2 * Removes `key` and its value from the cache.
6 * @memberOf _.memoize.Cache
7 * @param {string} key The key of the value to remove.
8 * @returns {boolean} Returns `true` if the entry was removed successfully, else `false`.
10 function mapDelete(key) {
11 return this.has(key) && delete this.__data__[key];
14 module.exports = mapDelete;