0

Why typeof null is object ?

1st Jan 2023, 8:00 AM
Levi
Levi - avatar
2 Answers
+ 1
Because it is a mistake that was made in the original design of the language.
1st Jan 2023, 8:09 AM
CalviÕ²
CalviÕ² - avatar
+ 1
An object can be null. (only) And i think, none other. šŸ¤”
1st Jan 2023, 9:08 AM
Jayakrishna šŸ‡®šŸ‡³