I agree that 10 is wrong, but
reading both AS and JS doc, I'm now thinking that if the second argument
is missing that the compiler should use 0.

Please see the note in the comment of this ticket[1]:
We need to decide whether we should add undefined as the second param (it
seems this is the preferred option by GCC instead of zero, I am not sure
why other than that they specify it) or possibly use the GCL version of
parseInt in these cases for full backwards compatibility with older
browsers.
What are your thoughts about this?

1.
https://issues.apache.org/jira/browse/FLEX-35283?focusedCommentId=15932208&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15932208

Reply via email to