Run »
Setting the length property of the array to 0, clears the array in Javascript
After arr.length = 0