minter-js-sdk
Version:
JS SDK for Minter Blockchain
18 lines (14 loc) • 302 B
JavaScript
;
var _nativeCreate = require('./_nativeCreate.js');
/**
* 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;