Using the typeof Operator : Typeof Operator : Statement Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » Statement » Typeof Operator »

 

Using the typeof Operator


 
package{
  import flash.display.Sprite;
  
  public class Main extends Sprite{
    public function Main(){
        var myVariable:Number = 6;
        trace(typeof myVariable)// Displays: number


    }
  }
}

        



Leave a Comment / Note


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


Flash / Flex / ActionScript examples

 Navioo Statement
» Typeof Operator