$index
= ?
) : voidSearch (inclusive) for the last index present that is equal to or less than the passed Index.
index
The index can be an integer or a string corresponding to the index where to start the search.
Return the corresponding index in the array.