clear Method

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

clear(): void

Returns - void

Defined in

Last Updated: 16 April, 2024