สามารถทำได้โดยใช้เมธอด unshift ตัวอย่างเช่น:
let veggies = ["Onion", "Raddish"];
veggies.unshift("Cabbage");
console.log(veggies);
จะได้ผลลัพธ์:
["Cabbage", "Onion", "Raddish"]
สามารถเพิ่มหลายสมาชิกพร้อมกันได้ เนองรองรับ arguments หลายค่า ตัวอย่างเช่น:
let veggies = ["Onion", "Raddish"];
veggies.unshift("Cabbage", "Carrot", "Broccoli");
console.log(veggies);
จะได้ผลลัพธ์:
["Cabbage", "Carrot", "Broccoli", "Onion", "Raddish"]