lastIndexOf
Get index of the last occurrence of an object.
Return
Index of the last occurrence of the object or -1 if no such object found.
Parameters
object
Object to search for.
Get index of the last occurrence of an object.
Index of the last occurrence of the object or -1 if no such object found.
Object to search for.