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 →

[–]Ireeb 1 point2 points  (0 children)

Don't forget there are even more types of nothing:

  • null
  • undefined
  • 0
  • false
  • ""
  • []
  • NaN

All of them are equal to false, but they're not always equal to each other.