Simply create a new empty array in its place,

Code:
yourArray = [];