This method for emptying an array uses a for loop (could be any kind of loop) and the Array.prototype.pop() method. var arr = [1, 2, 3, 4, 5]; ...
確定! 回上一頁