js falsy code example
Example 1: javascript falsy values
the number 0
the BigInt 0n
the keyword null
the keyword undefined
the boolean false
the number NaN
the empty string "" (equivalent to '' or ``)
Example 2: javascript falsy
// Falsy values:
0
''
undefined
null
NaN
Example 3: falsy javascript
//The 6 Falsy values:
false
0
""//empty strings
undefined
null
NaN