consloe.log(1 + 2); consloe.log(5 - 7); consloe.log(3 * 4); consloe.log(10 / 2); consloe.log(7 % 5); // 나머지연산자
나머지 연산자 응용 (홀수 짝수 구분)
function isEven(num){ return num % 2 === 0 } isEven(3); // false