摘要:
创建数组Ø 无参数:var aEmployees:Array = new Array();Ø 指定元素数量的一个单独的参数:var aEmployees:Array = new Array(4);Ø 参数列表,每一个参数都是要插入数组的一个新元素的新值:var aEmployees:Array = new Array(“Arun”,”Peter”,”Chris”,”Heather”);var aEmployees:Array = [“Arun”,”Peter”,”Chris”,”Heather”];var aEmployees:Array = [];给数组添加值& 阅读全文