_stackGet.js 271 B

123456789101112131415
  1. /**
  2. * Gets the stack value for `key`.
  3. *
  4. * @private
  5. * @name get
  6. * @memberOf Stack
  7. * @param {string} key The key of the value to get.
  8. * @returns {*} Returns the entry value.
  9. */
  10. function stackGet(key) {
  11. return this.__data__.get(key);
  12. }
  13. module.exports = stackGet;