Bump to v4.16.0.

This commit is contained in:
John-David Dalton
2016-09-17 22:37:40 -07:00
parent a06bf83085
commit 9e23f5441b
108 changed files with 1230 additions and 816 deletions

View File

@@ -10,7 +10,9 @@ var getMapData = require('./_getMapData');
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
*/
function mapCacheDelete(key) {
return getMapData(this, key)['delete'](key);
var result = getMapData(this, key)['delete'](key);
this.size -= result ? 1 : 0;
return result;
}
module.exports = mapCacheDelete;