변수는 여러 타입의 데이터를 담을 수 있다.

Untitled

📌원시 타입의 데이터

number 숫자 타입

string 문자열 타입

boolean

null과 undefined

NaN

📌객체 타입의 데이터

object