null
|
undefined
|
undeclared
|
null 값이 명시적으로 할당된 것
|
변수는 선언되었지만, 값이 할당되지 않은 변수
|
var,let,const 를 사용해서 생성되지 않은 식별자에 값을 할당할 때 생성
|
명시적
|
암시적
|
strict 모드에선 referenceError 나온다
|
https://inpa.tistory.com/entry/%F0%9F%93%9A-null-undefined-NaN