Skip to content

Commit a0190b6

Browse files
authored
Merge pull request ruanyf#546 from m4jing/patch-2
Fixed minor typo
2 parents cce0be6 + 5bfd96b commit a0190b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/array.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ i32a.copyWithin(0, 2);
583583

584584
这两个方法都可以接受第二个参数,用来绑定回调函数的`this`对象。
585585

586-
另外,这两个方法都可以发现`NaN`,弥补了数组的`IndexOf`方法的不足。
586+
另外,这两个方法都可以发现`NaN`,弥补了数组的`indexOf`方法的不足。
587587

588588
```javascript
589589
[NaN].indexOf(NaN)

0 commit comments

Comments
 (0)