✔️

답안

const data = prompt('숫자를 입력하세요.').split(' ').reverse(); const result = ''; for (let i=0; i<data.length; i++){ result += data[i]; } console.log(result);