On 3/15/16, 3:57 PM, "omup...@gmail.com on behalf of OmPrakash Muppirala"
<omup...@gmail.com on behalf of bigosma...@gmail.com> wrote:

>I think the problematic part is where strings start with "0".  There might
>be some browsers adding a radix of 8.  This is a supposedly deprecated
>feature.  There is no way of knowing what the browser would do by default
>in this case.

OK, so this is all about radix=8?

I guess that leaves us two choices:
1) Do what Andy says and just make the second param optional and see if
anyone gets burned if they are assuming a leading 0 will not be translated
as radix=8 because that's how I understand Flash/AIR works
2) Map parseInt to Language.parseInt and have Language.parseInt check for
leading 0 not followed by "x" and set radix = 10 to guarantee exact match
with Flash/AIR?

Either one is fine with me.

Thoughts?
-Alex

Reply via email to