Comment #2 on issue 351 by John.David.Dalton: String#lastIndexOf should  
return 0 for negative position values.
http://code.google.com/p/v8/issues/detail?id=351

The title of the ticket is misleading, the internal position should be 0,  
it just so
happens that at position 0 we have a match in "test" so it doesn't return a  
-1.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to