You can also use splice()
for in-place clearing:
let A = [1, 2, 3, 4];
A.splice(0, A.length);
console.log(A); // []
This saved me in a shared-state app where multiple components referenced the same array. Splice cleared it without breaking bindings.