lastIndexOf
Returns the index of the last element equal to element.
Return
the last matching index, or -1 when no match exists.
Parameters
element
value to search for.
Returns the index of the last element equal to element.
the last matching index, or -1 when no match exists.
value to search for.