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