10. 조건문 (if, else if, else, switch)10 - 1 기본적인 if 문if (true 또는 false가 나올 수 있는 조건) {} let y = "hello world";// y의 길이가 5보다 크거나 같으면 길이를 console.log로 출력if (y.length >= 5){ console.log(y.length);} 10 - 2 if - else 문let x = 10;if (x % 2 === 0) { // main logic #1 console.log("x는 짝수입니다.");} else { // main logic #2 console.log("x는 홀수입니다.");} 10 - 3 if - else if - else 문let x = 10;if (x 0)..