Emptying a JavaScript array
Emptying an array is easy, but methods vary in their impact on references made to the array in other
Emptying an array is easy, but methods vary in their impact on references made to the array in other
How to remove an element array element by value with and without mutating the original array.