doc: updated Array#indexOf to say that it uses strict equality
This commit is contained in:
parent
6b24170e68
commit
d1cc04c911
|
@ -360,7 +360,8 @@ Array.from = $A;
|
|||
* the search.
|
||||
*
|
||||
* Returns the index of the first occurrence of `item` within the array,
|
||||
* or `-1` if `item` doesn't exist in the array.
|
||||
* or `-1` if `item` doesn't exist in the array. `Array#indexOf` compares
|
||||
* items using *strict equality* (`===`).
|
||||
*
|
||||
* ### Examples
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue