falsy in js code example
Example 1: javascript falsy
// Falsy values:
0
''
undefined
null
NaN
Example 2: falsy javascript
//The 6 Falsy values:
false
0
""//empty strings
undefined
null
NaN
// Falsy values:
0
''
undefined
null
NaN
//The 6 Falsy values:
false
0
""//empty strings
undefined
null
NaN