描述

清空该数组。该数组的长度将为零。

var hello = new Array ("Hello", "World");
hello.Clear();
// hello now contains zero elements

注意:此功能仅适用于 javascript。C# 不使用此功能。