Notice
Recent Posts
Recent Comments
«   2025/05   »
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Tags
more
Today
Total
관리 메뉴

차차로그

[JS] 연습문제 > 짝수와 홀수 본문

코딩테스트

[JS] 연습문제 > 짝수와 홀수

차차한 2022. 8. 23. 15:32

function solution(num) {
    return num % 2 == 0 ? "Even" : "Odd";
}

쉬어가는 문제 \^^/

Comments