Values that coerce to true in conditional statements are called truthy values. Those that resolve to false are called falsy.
According to ES specification, the following values will evaluate to false in a conditional context −
This means that none of the following if statements will get executed −
if (null) if (undefined) if (NaN) if ("") if (0) if (false)