To empty an array in JavaScript, “set the length of an array to 0”, use the “pop()” method, “splice()” method, or “assign an array to an empty array”.
確定! 回上一頁