added unit testing, and started implementing unit tests...phew
This commit is contained in:
15
node_modules/lodash/_hashClear.js
generated
vendored
Normal file
15
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