Expanding the Scope Chain via the with Statement : with « Statement « Flash / Flex / ActionScript






Expanding the Scope Chain via the with Statement

 

with (object) {
  substatements
}

with (Math) {   
  trace(PI);    
}
                 

        








Related examples in the same category