mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-04 08:57:49 +00:00
Apply even more let/const transforms.
This commit is contained in:
@@ -11,8 +11,8 @@ import assocIndexOf from './_assocIndexOf.js';
|
||||
* @returns {Object} Returns the list cache instance.
|
||||
*/
|
||||
function listCacheSet(key, value) {
|
||||
var data = this.__data__,
|
||||
index = assocIndexOf(data, key);
|
||||
const data = this.__data__;
|
||||
const index = assocIndexOf(data, key);
|
||||
|
||||
if (index < 0) {
|
||||
++this.size;
|
||||
|
||||
Reference in New Issue
Block a user