splice(0,length) or new Array()

splice(0,length)
new array