diff options
Diffstat (limited to 'sandbox/testAppNevena/Front/node_modules/lodash/_hashClear.js')
-rw-r--r-- | sandbox/testAppNevena/Front/node_modules/lodash/_hashClear.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sandbox/testAppNevena/Front/node_modules/lodash/_hashClear.js b/sandbox/testAppNevena/Front/node_modules/lodash/_hashClear.js new file mode 100644 index 00000000..5d4b70cc --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/lodash/_hashClear.js @@ -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; |