0

Why typeof null is object ?

1st Jan 2023, 8:00 AM
Levi
Levi - avatar
2 Respostas
+ 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 🇮🇳