Array.Clear清空
function Clear () : void
Description描述
Empties the array. The length of the array will be zero.
清空数组,数组的长度将变为0。
var hello = new Array ("Hello", "World");hello.Clear();//hello数组被清空,为0元素