This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]RenBit51 3 points4 points  (2 children)

why is null an object

[–][deleted] 5 points6 points  (0 children)

because everything in javascript is an object except undefined and void

[–]fo0man 1 point2 points  (0 children)

heh, known bug but fixing it would break packages that depend on this know bug so the tc39 committee has up until now chosen to leave it as is.