flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: flexjs init the int =0
Date Sun, 03 Jul 2016 06:49:57 GMT

On 7/1/16, 1:44 PM, "jude" <flexcapacitor@gmail.com> wrote:

>ihzi is correct. to clarify, the compiler should initialize integers to
>zero when they are defined. and it should probably wrap any code that
>assigns a value to an int with parseInt().

IMO, it should be easy to initialize integers to zero, but I'm concerned
about the overhead of having to do all of the automatic type conversions
that AS does and JS doesn't, so injecting code like parseInt will probably
have to wait.


View raw message