mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 01:47:48 +00:00
Apply even more let/const transforms.
This commit is contained in:
@@ -10,8 +10,8 @@ import assocIndexOf from './_assocIndexOf.js';
|
||||
* @returns {*} Returns the entry value.
|
||||
*/
|
||||
function listCacheGet(key) {
|
||||
var data = this.__data__,
|
||||
index = assocIndexOf(data, key);
|
||||
const data = this.__data__;
|
||||
const index = assocIndexOf(data, key);
|
||||
|
||||
return index < 0 ? undefined : data[index][1];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user