SP.EnumerableArray.clear() Method
Applies to: SharePoint Foundation 2010
Removes all elements from the SP.EnumerableArray object.
SP.EnumerableArray.clear();
Remarks
This method sets the length of the enumerable array to zero to empty the array.