re: One of my favorite web-slinger questions (for fun, not for job interviews) is: can you name all 8 of the falsy things? Here's the first falsy thi...
 

Here they all are. I realize that two of them will bring out the angry mob with their torches and pitchforks. But my disclaimer is that I did not write the language.

First the easy 6 falsy things:

  • false
  • 0
  • ""
  • undefined
  • null
  • NaN

Plus the final two falsy things, the second of which being an HTML-ism (part of the HTML specification):

  • -0
  • document.all
code of conduct - report abuse