Everything With a “Real” Value is True:

  • 100
  • 3.14
  • -15
  • “Hello”
  • “false”
  • 7 + 1 + 3.14
  • 5 < 6

Everything Without a “Real” Value is False:

  • 0 (zero) is false
  • ”” (empty string) is false
  • undefined is false
  • null is false
  • NaN is false

Yonggoo Noh

I am interested in Computer science and Mathematics.