const list = [12, 5, 80, 34];
list.pop();
alert(list);  // 12,5,80