Run »
Using splice to clear Array in Javascript
arr1.splice(0, arr1.length):