dotfiles/.vscode/extensions/vscodevim.vim-0.1.10/node_modules/lodash/_hashClear.js

15 lines
264 B
JavaScript
Raw Normal View History

2016-09-11 09:29:13 +01:00
var nativeCreate = require('./_nativeCreate');
/**
* Removes all key-value entries from the hash.
*
* @private
* @name clear
* @memberOf Hash
*/
function hashClear() {
this.__data__ = nativeCreate ? nativeCreate(null) : {};
}
module.exports = hashClear;