doc: updated Array#indexOf to say that it uses strict equality

This commit is contained in:
tjcrowder 2009-09-07 13:20:36 +01:00 committed by Tobie Langel
parent 6b24170e68
commit d1cc04c911
1 changed files with 2 additions and 1 deletions

View File

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