+ 13

Why is null instanceof Object false?

https://www.sololearn.com/post/103649/?ref=app The question is explained in the post above.

25th May 2019, 10:01 AM
Sarthak Pokhrel
Sarthak Pokhrel - avatar
4 ответов
+ 6
Thank you guys, I finally got my answer. It's just bcoz, null have no constructor. Or if further saying, null has none properties.
26th May 2019, 1:47 AM
Sarthak Pokhrel
Sarthak Pokhrel - avatar
+ 3
AFAIK instance of null is undefined 🤔
25th May 2019, 10:56 AM
Sanjay Kamath
Sanjay Kamath - avatar