Skip to content

Commit bb29f0c

Browse files
committed
Fix context argument wrongly passed to callback
1 parent 7aa4665 commit bb29f0c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/utils/array/Each.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ var Each = function (array, callback, context)
2222
var i;
2323
var args = [ null ];
2424

25-
for (i = 2; i < arguments.length; i++)
25+
for (i = 3; i < arguments.length; i++)
2626
{
2727
args.push(arguments[i]);
2828
}

0 commit comments

Comments
 (0)