correct spell error

This commit is contained in:
Himanshu Taneja 2017-05-01 21:06:30 -05:00 committed by GitHub
parent 04b2fcfba2
commit 5d7f993f74

View file

@ -213,7 +213,7 @@ The methods [arr.indexOf](mdn:js/Array/indexOf), [arr.lastIndexOf](mdn:js/Array/
- `arr.indexOf(item, from)` looks for `item` starting from index `from`, and returns the index where it was found, otheriwse `-1`. - `arr.indexOf(item, from)` looks for `item` starting from index `from`, and returns the index where it was found, otheriwse `-1`.
- `arr.lastIndexOf(item, from)` -- same, but looks from right to left. - `arr.lastIndexOf(item, from)` -- same, but looks from right to left.
- `arr.includes(item, from)` -- looks for `item` starting fron index `from`, returns `true` if found. - `arr.includes(item, from)` -- looks for `item` starting from index `from`, returns `true` if found.
For instance: For instance: