`array.length = 0;` will empty it