lastIndexOf function in javascript - Javascript Views : 242
Tagged in : Javascript
Send mail vote down 0 vote down 0
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).
By - gowtham, On - 2010-01-28




    Login to add Comments .