pop ()是Node.js中的數組函數,用於從數組末尾刪除元素。 用法: ... function POP() { arr.pop(); console.log(arr); } var arr = [1,2,3,4,5,6,7]; POP();.
確定! 回上一頁