Checking the Contents of an Array with the toString( ) Method : toString « Array « Flash / Flex / ActionScript






Checking the Contents of an Array with the toString( ) Method

 


package{
  import flash.display.Sprite;
  
  public class Main extends Sprite{
    public function Main(){

        var sites = ["g", "w", "o"];
        trace("The array is " + sites); //The array is g,w,o

    }
  }
}

        








Related examples in the same category