asked
Jeju Coding Base Camp Code Festival: JavaScript 100 Questions
Problem 37: Class President Election
Written on
·
225
0
prompt로 학생들 이름을 받아서 작성하고 싶은데요.
만일 표가 같다면 동점이라고 나타내고 싶은데 어떤식으로 작성하면 좋을까요?
Answer 1
키값을 득표 수로 하면 되지 않을까요?