clear Method

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

clear(): void

Returns - void

Defined in

Last Updated: 13 June, 2024