clear Method

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

clear(): void

Returns - void

Defined in

Last Updated: 12 June, 2024