source: trip-planner-front/node_modules/lodash/_hashClear.js@ 6a3a178

Last change on this file since 6a3a178 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 281 bytes
Line 
1var nativeCreate = require('./_nativeCreate');
2
3/**
4 * Removes all key-value entries from the hash.
5 *
6 * @private
7 * @name clear
8 * @memberOf Hash
9 */
10function hashClear() {
11 this.__data__ = nativeCreate ? nativeCreate(null) : {};
12 this.size = 0;
13}
14
15module.exports = hashClear;
Note: See TracBrowser for help on using the repository browser.