Published: June 13, 2020
9
3
58

Comment to one of my blog posts. 🙄 It’s reasonable to argue that null *is* an object, but the elaborate insults are not OK. As an aside, Brendan Eich agrees that typeof null is a bug. Details on typeof null: https://2ality.com/2013/10/typ...

Image in tweet by Axel Rauschmayer (also on 🦣)

Additionally, the type of the value null and the type of objects are disjoint in the ECMAScript language specification.

Share this thread

Read on Twitter

View original thread

Navigate thread

1/2