The concat( ) method combines two or more arrays into a single, new array : Concat : Array Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » Array » Concat »

 

The concat( ) method combines two or more arrays into a single, new array


 


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

        var list1:Array = new Array(111213);
        var list2:Array = list1.concat(1415);  // list2 becomes
        
        trace(list2)// 11,12,13,14,15

    }
  }
}

        



Leave a Comment / Note


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


Flash / Flex / ActionScript examples

 Navioo Array
» Concat