1234567891011121314151617181920212223 |
- import nativeCreate from './_nativeCreate.js';
- var HASH_UNDEFINED = '__lodash_hash_undefined__';
- function hashSet(key, value) {
- var data = this.__data__;
- this.size += this.has(key) ? 0 : 1;
- data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;
- return this;
- }
- export default hashSet;
|