We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b6dc8eb + 3e843a7 commit fa7f5c1Copy full SHA for fa7f5c1
docs/array.md
@@ -292,7 +292,7 @@ console.log(entries.next().value); // [2, 'c']
292
293
## 数组实例的includes()
294
295
-`Array.protypeto.includes`方法返回一个布尔值,表示某个数组是否包含给定的值,与字符串的`includes`方法类似。该方法属于ES7,但Babel转码器已经支持。
+`Array.prototype.includes`方法返回一个布尔值,表示某个数组是否包含给定的值,与字符串的`includes`方法类似。该方法属于ES7,但Babel转码器已经支持。
296
297
```javascript
298
[1, 2, 3].includes(2); // true
0 commit comments