Apply let/const transform.

This commit is contained in:
John-David Dalton
2017-01-07 23:18:22 -08:00
parent 4c881b2726
commit 10f64ee9c4
103 changed files with 207 additions and 207 deletions

View File

@@ -1,7 +1,7 @@
import nativeCreate from './_nativeCreate.js';
/** Used to stand-in for `undefined` hash values. */
var HASH_UNDEFINED = '__lodash_hash_undefined__';
const HASH_UNDEFINED = '__lodash_hash_undefined__';
/**
* Sets the hash `key` to `value`.
@@ -14,7 +14,7 @@ var HASH_UNDEFINED = '__lodash_hash_undefined__';
* @returns {Object} Returns the hash instance.
*/
function hashSet(key, value) {
var data = this.__data__;
const data = this.__data__;
this.size += this.has(key) ? 0 : 1;
data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;
return this;