1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-28 21:32:20 +00:00

Fixed minor typo

This commit is contained in:
Jing Ma 2017-11-15 11:05:48 +08:00 committed by GitHub
parent cce0be6bbe
commit 5bfd96bd87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -583,7 +583,7 @@ i32a.copyWithin(0, 2);
这两个方法都可以接受第二个参数,用来绑定回调函数的`this`对象。
另外,这两个方法都可以发现`NaN`,弥补了数组的`IndexOf`方法的不足。
另外,这两个方法都可以发现`NaN`,弥补了数组的`indexOf`方法的不足。
```javascript
[NaN].indexOf(NaN)