Files
uTools-ProcessKiller/node_modules/lodash/internal/mapGet.js
fofolee 9446af6b84 v0.0.2
2019-03-27 15:56:00 +08:00

15 lines
308 B
JavaScript

/**
* Gets the cached value for `key`.
*
* @private
* @name get
* @memberOf _.memoize.Cache
* @param {string} key The key of the value to get.
* @returns {*} Returns the cached value.
*/
function mapGet(key) {
return key == '__proto__' ? undefined : this.__data__[key];
}
module.exports = mapGet;