clear

.clear( )

This removes all items stored in this array. Anything stored in this, is no longer stored.

This array is then returned.

ns = [ 1, 2, 3 ]
console( ns ) // outputs [ 1, 2, 3 ]

ns.clear()
ns.add( 4 )
console( ns ) // outputs [ 4 ]