It's probably because in
for(var i:int=0,len:int =arr.length;i<len;i++){
although it's legal to initialise two variables in the first part (before the
first ';') the second one (len) doesn't have a 'var' in front and it's confused
things ?
I always just set the length before the 'for' as it tends to be less confusing
later.
Tom
On 25/04/16 10:25, lizhi wrote:
?are you test as code in flash ide?why ;?
for(;;;)?!
--
View this message in context:
http://apache-flex-development.2333347.n4.nabble.com/flexjs-for-bug-tp52573p52576.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.
______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________