Skip to content

Commit f324d4b

Browse files
authored
Typo
1 parent aeabf4b commit f324d4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/05-data-types/05-array-methods/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ Note that the methods use `===` comparison. So, if we look for `false`, it finds
231231

232232
If we want to check for inclusion, and don't want to know the exact index, then `arr.includes` is preferred.
233233

234-
Also, a very minor difference of `include` is that it correctly handles `NaN`, unlike `indexOf/lastIndexOf`:
234+
Also, a very minor difference of `includes` is that it correctly handles `NaN`, unlike `indexOf/lastIndexOf`:
235235

236236
```js run
237237
const arr = [NaN];

0 commit comments

Comments
 (0)