1 | import getMapData from './_getMapData.js';
|
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 | */
|
12 | function mapCacheGet(key) {
|
13 | return getMapData(this, key).get(key);
|
14 | }
|
15 |
|
16 | export default mapCacheGet;
|