3 ways to empty an Array in JavaScript · 1) Using length property · 2) Assigning it to a new empty array · 3) Using Array method splice().
確定! 回上一頁