We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fe84431 + 6ac63eb commit 8ba0e91Copy full SHA for 8ba0e91
06_Arrays/01_Array Methods/07_Methods for Searching/00_.md
@@ -5,7 +5,7 @@ There are many methods that can help you find specific elements in an array. The
5
- returns `-1` is the element is not found
6
7
`arrayname.lastIndexOf(element, [leftOf])`
8
- - returns the index of the first match in the array
+ - returns the index of the last match in the array
9
10
11
`arrayname.find(function)`
@@ -14,4 +14,4 @@ There are many methods that can help you find specific elements in an array. The
14
15
`arrayname.findIndex(function)`
16
- returns the index of the leftmost element in the array, that meets the criteria in the function
17
- - if no such element is found, returns `-1`
+ - if no such element is found, returns `-1`
0 commit comments