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://juyoungpark718.github.io/posts/60
The text was updated successfully, but these errors were encountered:
안녕하세요 풀이 잘 보았습니다. 한 가지 이해가 안되는게 있어 코멘트 남깁니다. check.sort((a, b) => b[2] - a[2]); 에서 [2]를 해주는 이유가 뭘까요?
Sorry, something went wrong.
우선 댓글 달아주셔서 너무 감사합니다. 저도 확인해보니까 check 배열은 object값을 가지고 있는 배열인데 b[2]-a[2]로 사용하는 것은 완전 틀렸네요 감사합니다! 그리고 정렬할 필요가 없는 문제 같네요!
check.sort((a, b) => b[2] - a[2]);
이 부분은 완전히 틀린 코드네요 감사합니다!
아하 ! 댓글 감사합니다 덕분에 잘 알게 되었습니다 👍
No branches or pull requests
[프로그래머스] 레벨3 (level3) 배달
https://juyoungpark718.github.io/posts/60
The text was updated successfully, but these errors were encountered: