inspired by the question int a[] = {1,2,}; Weird comma allowed. Any particular reason? I remembered a question concerning the syntax in Adobe's Actionscript.
For some reason it is possible (at least in Flex 3) to assign a value to a variable before it was declared:
 public function foo() : void {
      a = 3;
      var a : int = 0;
 }
Does this make any sense..? Is this a bug in the Adobe FlexBuilder compiler? Or is this due to maybe some legacy to older Ecmascript editions?
 
     
     
     
    