We had a discussion a few months back entitled "[FlexJS]as in”. There were a number of suggestions how to handle int, but I don’t think anyone did anything there.
On Jul 3, 2016, at 9:49 AM, Alex Harui <aha...@adobe.com> wrote: > > > On 7/1/16, 1:44 PM, "jude" <flexcapaci...@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. > > -Alex >