const list = [12, 5, 80, 34];
list.splice(2, 0, 24, 25, 26);
alert(list);  // 12,5,24,25,26,80,34