http://codereview.chromium.org/391014/diff/1/3 File src/runtime.cc (right):
http://codereview.chromium.org/391014/diff/1/3#newcode3390 Line 3390: CONVERT_SMI_CHECKED(radix, args[1]); This version doesn't work if the argument is not a Smi. It throws an exception instead of just working. We should have a test that parseInt("100", 16.1) == 256. http://codereview.chromium.org/391014 --~--~---------~--~----~------------~-------~--~----~ v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---
