Unshift.Push挤入
function Push (value : object) : int
Description描述
Adds value to the end of the array.
And returns the new length of the array.
在数组末尾添加值,并返回新的数组长度。
var arr = new Array ("Hello");arr.Push("World");//在数组末尾添加一个元素// 打印结果为"Hello", "World"print(arr);
,