1 var assocDelete = require('./_assocDelete');
4 * Removes `key` and its value from the stack.
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 stackDelete(key) {
13 var data = this.__data__,
16 return array ? assocDelete(array, key) : data.map['delete'](key);
19 module.exports = stackDelete;