The undefined value represents the absence of data for variables, parameters, and return values without a specified type annotation. : Undefined : Data Type Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » Data Type » Undefined »

 

The undefined value represents the absence of data for variables, parameters, and return values without a specified type annotation.


 


package{
  import flash.display.Sprite;
  
  public class Main extends Sprite{
    public function Main(){
        var info = new Object( );
        info.city = "Toronto";
        info.country = undefined;
        trace(info.language);  // Displays: undefined


    }
  }
}

        



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


Flash / Flex / ActionScript examples

 Navioo Data Type
» Undefined