JavaScript Array shift (). 陣列(array) 的 shift() 方法用來移除陣列中的第一個元素,同時返回這個元素值。 語法: ary.shift(). 用法:
確定! 回上一頁