JavaScript에서 typeof 연산자를 사용했을 때 올바른 결과 짝은?
쉬움 MDN Web Docs해설
JavaScript typeof 연산자는 소문자 문자열을 반환합니다. 'string', 'number', 'boolean', 'undefined', 'object', 'function', 'symbol', 'bigint' 등이 있습니다. 주의할 점으로 typeof null은 'object'를 반환하는 역사적 버그가 있습니다.
JavaScript typeof 연산자는 소문자 문자열을 반환합니다. 'string', 'number', 'boolean', 'undefined', 'object', 'function', 'symbol', 'bigint' 등이 있습니다. 주의할 점으로 typeof null은 'object'를 반환하는 역사적 버그가 있습니다.