Creating New Arrays from Existing Arrays
package{
import flash.display.Sprite;
public class Main extends Sprite{
public function Main(){
var aEmployeesExec:Array = ["A", "P", "C", "H"];
var aEmployeesNew:Array = ["G", "M"];
var aEmployeesStaff:Array = ["A", "R"];
var aEmployeesAll:Array = aEmployeesExec.concat(aEmployeesNew, aEmployeesStaff);
trace(aEmployeesAll.toString());
}
}
}
//A,P,C,H,G,M,A,R
Related examples in the same category