📜  push at first index typescript 代码示例

📅  最后修改于: 2022-03-11 14:48:28.491000             🧑  作者: Mango

代码示例2
var a = [23, 45, 12, 67];
a.unshift(34);
console.log(a); // [34, 23, 45, 12, 67]