Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 

17 lignes
328 B

  1. import getMapData from './_getMapData.js';
  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. export default mapCacheGet;