나이 출력1 [javascript] 나이 출력 (프로그래머스) function solution(age) { return 2022-age+1 } 태어나자마자 age+1이 되므로 year에 1을 더해준다. 2023. 7. 7. 이전 1 다음