clear Method

Clear the array to 0 length. The underlying memory remains allocated for reuse.

clear(): void

Returns - void

Defined in

Last Updated: 20 June, 2023