function solution(x, n) { let answer = []; for(let i = 1; i <= n; i++){ answer.push(x * i); } return answer; }
성공