JavaScript Falsy Values

The following six values are known as Falsy values, meaning they evaluate to false:

  1. false
  2. undefined
  3. null
  4. 0
  5. NaN
  6. "" (i.e., the empty string)

Featured Post

Facebook Unable to Identify Who Was Behind Network of Fake Accounts

Facebook said Tuesday it had been unable to determine who was behind dozens of fake accounts it took down shortly before the 2018 U.S. midte...