mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-04 00:57:48 +00:00
Convert remaining vars to let/const.
This commit is contained in:
@@ -25,11 +25,12 @@ function baseIntersection(arrays, iteratee, comparator) {
|
||||
const caches = Array(othLength);
|
||||
const result = [];
|
||||
|
||||
let array;
|
||||
let maxLength = Infinity;
|
||||
let othIndex = othLength;
|
||||
|
||||
while (othIndex--) {
|
||||
var array = arrays[othIndex];
|
||||
array = arrays[othIndex];
|
||||
if (othIndex && iteratee) {
|
||||
array = arrayMap(array, baseUnary(iteratee));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user