Number? -Mark
-----Original Message----- From: Alex Harui [mailto:[email protected]] Sent: Friday, July 01, 2016 7:46 PM To: [email protected] Subject: Re: flexjs init the int =0 Yep. Looking into it. Are there any other types other than int and uint that will need initialization? -Alex On 7/1/16, 1:38 PM, "jude" <[email protected]> wrote: >in as3 > >var i:int; // i equals 0 > >in JavaScript i is undefined because we don't know what type it is > >var i; // null, undefined or NaN > >therefore we need to initialize every integer as zero when it's defined. >On Jun 30, 2016 10:35 PM, "lizhi" <[email protected]> wrote: > >> and i++ in as i=1 >> but js i= NaN >> >> >> >> -- >> View this message in context: >> >>http://apache-flex-development.2333347.n4.nabble.com/flexjs-init-the-int- >>0-tp53569p53570.html >> Sent from the Apache Flex Development mailing list archive at >>Nabble.com. >>
smime.p7s
Description: S/MIME cryptographic signature
