array.clear()
Removes all elements from an array.
array.clear( )
Returns: Array
This function does not take any arguments.
Examples
array = ["one","two","THREE","three","four","five","Five"];
writeDump(array.clear());
writeDump(array.len());