mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-23 04:11:06 +07:00
15 lines
271 B
JavaScript
15 lines
271 B
JavaScript
|
/**
|
||
|
* Gets the stack value for `key`.
|
||
|
*
|
||
|
* @private
|
||
|
* @name get
|
||
|
* @memberOf Stack
|
||
|
* @param {string} key The key of the value to get.
|
||
|
* @returns {*} Returns the entry value.
|
||
|
*/
|
||
|
function stackGet(key) {
|
||
|
return this.__data__.get(key);
|
||
|
}
|
||
|
|
||
|
module.exports = stackGet;
|