typeof null === 'object'

Term side of the Card
Topic: Problems
Unit title: typeof null === 'object'
Categories: Problem
Explanation side of the Card

Explanation: The historical bug in JavaScript. The `typeof null` returns `object` instead of `null`, creating confusion in type checking. This behavior originates from the early days of JavaScript, where values were represented using a type tag system in the underlying implementation.

Edit on GitHubContributions in our content repository are 🤗 welcome from everyone.Link leads to the Contributions guidelines on GitHubLink leads to the content repository on GitHub