lastIndexOf function in javascript

by gowtham 2010-01-28 20:03:11

lastIndexOf(targetElement, [startIndex]
Returns the first index in which targetElment (value) is found within an array starting from the last element and backwards, or -1 if nothing is found. An optional [startIndex] lets you specify the position in which to begin the search (default is array.length-1, or search entire array).

Tagged in:

990
like
0
dislike
0
mail
flag

You must LOGIN to add comments