JavaScript Array shift()方法從數組中刪除第一個元素,然後返回該元素。 ... "Java", "C++", "Lua"]; var shifted = languages.shift(); console.log(languages); ...
確定! 回上一頁