mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-03 08:37:49 +00:00
Avoid var name pad in composeArgsRight.
This commit is contained in:
@@ -3197,12 +3197,12 @@
|
|||||||
while (++argsIndex < argsLength) {
|
while (++argsIndex < argsLength) {
|
||||||
result[argsIndex] = args[argsIndex];
|
result[argsIndex] = args[argsIndex];
|
||||||
}
|
}
|
||||||
var pad = argsIndex;
|
var offset = argsIndex;
|
||||||
while (++rightIndex < rightLength) {
|
while (++rightIndex < rightLength) {
|
||||||
result[pad + rightIndex] = partials[rightIndex];
|
result[offset + rightIndex] = partials[rightIndex];
|
||||||
}
|
}
|
||||||
while (++holdersIndex < holdersLength) {
|
while (++holdersIndex < holdersLength) {
|
||||||
result[pad + holders[holdersIndex]] = args[argsIndex++];
|
result[offset + holders[holdersIndex]] = args[argsIndex++];
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user