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.
		
		
		
		
			
				
					15 lines
				
				271 B
			
		
		
			
		
	
	
					15 lines
				
				271 B
			| 
								 
											4 years ago
										 
									 | 
							
								/**
							 | 
						||
| 
								 | 
							
								 * 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;
							 |