제곱수 판별하기 function solution(n) { if(Number.isInteger(Math.sqrt(n))){ return 1 } else { return 2 } } 공유하기 게시글 관리 기록용 블로그 저작자표시 비영리 변경금지