truthy values and falsy values in js code example
Example 1: javascript falsy
// Falsy values:
0
''
undefined
null
NaN
Example 2: javascript truthy
// Truthy values:
// All values are truthy, BUT (excluding) the following:
0
''
undefined
null
NaN