목록2024/05/13 (1)
훈돌라
2024. 5. 13 복습,,, 또 복습,,
function sum (num1, num2) { return num1 + num2;} console.log(sum(2,3)); function isEvenOrOdd(num){ if(num%2 === 0){ console.log("짝수입니다") } if(num%2 === 1){ console.log("홀수입니다") }}isEvenOrOdd(5);isEvenOrOdd(4); const name = "훈돌라";const age = 28; const user = `이름 : ${name}나이 : ${age}`; console.log(user); document.querySelector document.querySelector docume..
카테고리 없음
2024. 5. 13. 20:19