✏️ 编辑:_hashDelete.js
路径:
/home/boguraj1/public_html/jobsite/node_modules/lodash/_hashDelete.js
大小:445 B · 修改:2022-11-21 20:09:42 · 权限:0644 · 可写
← 返回目录
👁 查看
⬇ 下载
/** * Removes `key` and its value from the hash. * * @private * @name delete * @memberOf Hash * @param {Object} hash The hash to modify. * @param {string} key The key of the value to remove. * @returns {boolean} Returns `true` if the entry was removed, else `false`. */ function hashDelete(key) { var result = this.has(key) && delete this.__data__[key]; this.size -= result ? 1 : 0; return result; } module.exports = hashDelete;
💾 保存
取消
保存为 UTF-8,换行统一为 LF