Skip to content

Commit 8ba3856

Browse files
committed
fixed typo in util.js Array.map function
1 parent 779dbfb commit 8ba3856

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

util.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ if (!Array.map) {
1818
throw new TypeError();
1919

2020
var res = new Array(len);
21-
var thisp = arguments[1];
21+
var thisp = arguments[2];
2222
for (var i = 0; i < len; i++)
2323
{
2424
if (i in arr)

0 commit comments

Comments
 (0)