diff --git a/lodash.js b/lodash.js index c7b61ae07..a73778a45 100644 --- a/lodash.js +++ b/lodash.js @@ -3672,13 +3672,13 @@ while (++index < length) { array[index] = args[start + index]; } + index = -1; switch (start) { case 0: return func.call(this, array); case 1: return func.call(this, args[0], array); case 2: return func.call(this, args[0], args[1], array); } var otherArgs = Array(start + 1); - index = -1; while (++index < start) { otherArgs[index] = args[index]; }