`queue.length = 0;` this keeps reusing the same array structure, but deferencing entries for GC