We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://zenn.dev/doxper/articles/66b91dc8321802 프로그래머스에서
function solution(n) { let answer = 0; const str = String(n); // 여기 for (var i = 0; i < str.length; i++) { answer += parseInt(str[i]); } return answer; }
이건 되는데
function solution(n) { let answer = 0; const str = n.toString(); // 여기 for (var i = 0; i < str.length; i++) { answer += parseInt(str[i]); } return answer; }
이건 안되는 이유는 뭐임
The text was updated successfully, but these errors were encountered:
parseInt와 Number()의 차이도
Sorry, something went wrong.
No branches or pull requests
https://zenn.dev/doxper/articles/66b91dc8321802
프로그래머스에서
이건 되는데
이건 안되는 이유는 뭐임
The text was updated successfully, but these errors were encountered: