00001 var getMapData = require('./_getMapData');
00002
00012 function mapCacheDelete(key) {
00013 var result = getMapData(this, key)['delete'](key);
00014 this.size -= result ? 1 : 0;
00015 return result;
00016 }
00017
00018 module.exports = mapCacheDelete;