값이 할당되지 않은 상태를 나타낸다.
변수를 초기화하지 않은 상태는 undefined가 될 수 있다
let undef;
let obj = { abc: 123 };
console.log(undef); // undefined
console.log(obj.abc); // 123
console.log(obj.xyz); // undefined
어떤 값이 의도적으로 비어있음을 의미한다.
사람이 직접적으로 값이 비어있다는 것을 알리기 위해 직접 명시한 값이라고 볼 수 있다.
let empty = null;
console.log(empty); // null