mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-04 00:57:48 +00:00
Bump to v4.12.0.
This commit is contained in:
17
_mapCacheGet.js
Normal file
17
_mapCacheGet.js
Normal file
@@ -0,0 +1,17 @@
|
||||
define(['./_getMapData'], function(getMapData) {
|
||||
|
||||
/**
|
||||
* Gets the map value for `key`.
|
||||
*
|
||||
* @private
|
||||
* @name get
|
||||
* @memberOf MapCache
|
||||
* @param {string} key The key of the value to get.
|
||||
* @returns {*} Returns the entry value.
|
||||
*/
|
||||
function mapCacheGet(key) {
|
||||
return getMapData(this, key).get(key);
|
||||
}
|
||||
|
||||
return mapCacheGet;
|
||||
});
|
||||
Reference in New Issue
Block a user