mirror of
https://kevinblog.sytes.net/Code/Jibo-Revival-Group/jibo-cli.git
synced 2026-06-15 13:56:20 +00:00
15 lines
308 B
JavaScript
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;
|