JS Falsy - thelastmile/FreeCodeCamp GitHub Wiki
JavaScript Falsy Values
Something which evaluates to FALSE. There are only five falsey values in JavaScript: undefined
, null
, NaN
, 0
, ""
(empty string), and false
of course.
See also: truthy | Truthy & Falsey blog post