Closed GoogleCodeExporter closed 9 years ago
Patch : https://codereview.appspot.com/7229075/
Original comment by johnjbar...@chromium.org
on 2 Feb 2013 at 3:18
Why are you trying to get a negative line? Maybe we should just return NaN in
that case =P
Looking at the patch now.
Original comment by arv@chromium.org
on 2 Feb 2013 at 6:34
Yes, of course my code as a bad offset, but the infinite loop is a nasty way to
find that out. For some reason I never get the slow-script warning but rather
my app and its debugger act wonky and semi-responsive. I usually have to
restart the browser a few times before I remember to check the CPU.
Sadly, NaN is pretty much a viable array index or object property, so only
throwing an exception would really alert the developer.
landed.
Original comment by johnjbar...@chromium.org
on 3 Feb 2013 at 4:59
Original issue reported on code.google.com by
johnjbar...@google.com
on 2 Feb 2013 at 1:03