1 var getMapData = require('./_getMapData');
4 * Removes `key` and its value from the map.
9 * @param {string} key The key of the value to remove.
10 * @returns {boolean} Returns `true` if the entry was removed, else `false`.
12 function mapCacheDelete(key) {
13 var result = getMapData(this, key)['delete'](key);
14 this.size -= result ? 1 : 0;
18 module.exports = mapCacheDelete;