typo
This commit is contained in:
parent
15d0e14b87
commit
2908fe7fe6
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@ alert( arr.includes(1) ); // true
|
|||
|
||||
Note that the methods use `===` comparison. So, if we look for `false`, it finds exactly `false` and not the zero.
|
||||
|
||||
If we wan to check for inclusion, and don't want to know the exact index, then `arr.includes` is preferred.
|
||||
If we want to check for inclusion, and don't want to know the exact index, then `arr.includes` is preferred.
|
||||
|
||||
|
||||
### find and findIndex
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue