clear Method

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

clear(): void

Returns - void

Defined in

Last Updated: 30 November, 2023