Skip to content

Commit

Permalink
Update index.md (#11723)
Browse files Browse the repository at this point in the history
* Update index.md

Better context.

* added a space

Co-authored-by: Estelle Weyl <estelle@openwebdocs.org>
  • Loading branch information
zitup and estelle authored Jan 4, 2022
1 parent 395d3db commit 92dc107
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ lastIndexOf(searchElement, fromIndex)
index is greater than or equal to the length of the array, the whole array will be
searched. If negative, it is taken as the offset from the end of the array. Note that
even when the index is negative, the array is still searched from back to front. If
the calculated index is less than 0, -1 is returned, i.e. the array will not be
the calculated index (`arr.length + fromIndex`) is less than 0, -1 is returned, i.e. the array will not be
searched.

### Return value
Expand Down

0 comments on commit 92dc107

Please sign in to comment.