- cross-posted to:
- programmerhumor@lemmy.ml
- cross-posted to:
- programmerhumor@lemmy.ml
You must log in or register to comment.
typeof null === "object"
was actually a bug in the early implementations, and they decided to keep it in the spec: https://2ality.com/2013/10/typeof-null.html(see the comment from Brendan Eich)
Tony Hoare: “Introducing NULL was a billion-dollar mistake”
Brendan Eich: “Hold my undefined”
We had one
null
, yes. But what about secondnull
?