UNPKG

330 BJavaScriptView Raw
1var getMapData = require('./_getMapData');
2
3/**
4 * Gets the map value for `key`.
5 *
6 * @private
7 * @name get
8 * @memberOf MapCache
9 * @param {string} key The key of the value to get.
10 * @returns {*} Returns the entry value.
11 */
12function mapCacheGet(key) {
13 return getMapData(this, key).get(key);
14}
15
16module.exports = mapCacheGet;