Clear array elements in typrscript

After all my search, this is best way to clear elements in the array in type script.


arrayName.length =0