History of String.prototype.lastIndexOf() Revision history for: English (US) Sep 2, 2016, 6:12:28 AM BenB Startposition: Clarify that the left part of the string will be searched, not the right part Previous Jul 23, 2016, 10:31:32 AM eduardoboucas Add "Return value" section as per Bug 1287421 Previous Jun 26, 2016, 3:31:04 PM arai Previous Jun 26, 2016, 3:29:20 PM arai Fixed the default value of position to +Infinity Previous Jan 15, 2016, 1:53:12 PM Botulism re-added details about when searchValue is an empty string Previous Jan 4, 2016, 8:02:46 AM fscholz add ES draft Previous Dec 12, 2015, 11:05:31 AM fkling42 Previous Dec 12, 2015, 11:05:04 AM fkling42 Previous Dec 12, 2015, 11:03:26 AM RReverser We got caught by this and went into infinite loop. Spec says max(fromIndex, 0) is taken. Previous Dec 10, 2015, 4:20:18 PM Botulism cleaned up fromIndex text, made it clear that lastIndexOf searched backwards