typeof: returns a stringtypeof 42, typeof 'hello', typeof true, typeof undeclaredVariableconsole.log(`${num} x ${i} = ${num * i}`); let num = 5;
num % 2 === 0 ? console.log('짝수') : console.log('홀수'); // '홀수입니다.' for (초기값; 조건식; 증감식) { // 실행할 코드 }str[num]; str.indexOf('a')