Avoid var name pad in composeArgsRight.

This commit is contained in:
jdalton
2015-04-30 09:08:31 -07:00
parent 2ce9e09e8b
commit 0ea1fc5602

View File

@@ -3197,12 +3197,12 @@
while (++argsIndex < argsLength) {
result[argsIndex] = args[argsIndex];
}
var pad = argsIndex;
var offset = argsIndex;
while (++rightIndex < rightLength) {
result[pad + rightIndex] = partials[rightIndex];
result[offset + rightIndex] = partials[rightIndex];
}
while (++holdersIndex < holdersLength) {
result[pad + holders[holdersIndex]] = args[argsIndex++];
result[offset + holders[holdersIndex]] = args[argsIndex++];
}
return result;
}