How do I empty an array in JavaScript? · Assign it to an empty array · Set its length to 0 · Use Array.prototype.splice() · Use Array.prototype.pop ...
確定! 回上一頁