📌  相关文章
📜  javascript 如何追加第一个元素 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:48.957000             🧑  作者: Mango

代码示例2
//Add element to front of array
var numbers = ["2", "3", "4", "5"];
numbers.unshift("1");
//Result - numbers: ["1", "2", "3", "4", "5"]