This commit is contained in:
Yofri 2017-06-27 21:40:52 +07:00
parent 15d0e14b87
commit 2908fe7fe6

View file

@ -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