.
This commit is contained in:
		
							
								
								
									
										15
									
								
								qwen/nodejs/node_modules/lodash/_hashClear.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								qwen/nodejs/node_modules/lodash/_hashClear.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,15 @@
 | 
			
		||||
var nativeCreate = require('./_nativeCreate');
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Removes all key-value entries from the hash.
 | 
			
		||||
 *
 | 
			
		||||
 * @private
 | 
			
		||||
 * @name clear
 | 
			
		||||
 * @memberOf Hash
 | 
			
		||||
 */
 | 
			
		||||
function hashClear() {
 | 
			
		||||
  this.__data__ = nativeCreate ? nativeCreate(null) : {};
 | 
			
		||||
  this.size = 0;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
module.exports = hashClear;
 | 
			
		||||
		Reference in New Issue
	
	Block a user