Files
old-slucajna-televizija/backend/node_modules/lodash/_hashClear.js
GotPPay a75ea978f9 ..
2017-10-16 20:21:19 +02:00

16 lines
281 B
JavaScript

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;