d49c61ae0b0b12d6c648ad6d95c22eb1408a83863ee582ea853f9ad5ce21d61c5deb5ae5cf574223cdf7f235b583aa3179da0ca52489c8588cc3e1cc3269f5 418 B

12345678910111213141516171819
  1. import assocIndexOf from './_assocIndexOf.js';
  2. /**
  3. * Gets the list cache value for `key`.
  4. *
  5. * @private
  6. * @name get
  7. * @memberOf ListCache
  8. * @param {string} key The key of the value to get.
  9. * @returns {*} Returns the entry value.
  10. */
  11. function listCacheGet(key) {
  12. var data = this.__data__,
  13. index = assocIndexOf(data, key);
  14. return index < 0 ? undefined : data[index][1];
  15. }
  16. export default listCacheGet;