📚 Reference
arr.reverse() 배열명.reverse()
let arr = [1, 2, 3, 4, 5]; // [5, 4, 3, 2, 1] console.log(arr.reverse());