You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
330 B

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