Convert remaining vars to let/const.

This commit is contained in:
John-David Dalton
2017-01-09 13:53:41 -08:00
parent 40e9c66ca6
commit c2208f82dc
12 changed files with 37 additions and 21 deletions

View File

@@ -41,10 +41,12 @@ function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {
// Ignore non-index properties.
while (++index < arrLength) {
const arrValue = array[index], othValue = other[index];
let compared;
const arrValue = array[index];
const othValue = other[index];
if (customizer) {
var compared = isPartial
compared = isPartial
? customizer(othValue, arrValue, index, other, array, stack)
: customizer(arrValue, othValue, index, array, other, stack);
}