1 var assocIndexOf = require(
'./_assocIndexOf');
4 var arrayProto = Array.prototype;
7 var splice = arrayProto.splice;
18 function listCacheDelete(key) {
19 var data = this.__data__,
20 index = assocIndexOf(data, key);
25 var lastIndex = data.length - 1;
26 if (index == lastIndex) {
29 splice.call(data, index, 1);
35 module.exports = listCacheDelete;