배열 뒤집기를 구글링한 결과 reverse()로 간단히 해결할 수 있었다.
function solution(num_list) { return num_list.reverse(); }
이렇게 하면 주어진 배열의 순서가 뒤집어진다.