truthy

true
{} (empty object)
[] (empty array)
42 (number, not zero)
"0", "false" (string, not empty)

falsy

false
0, -0 (zero, minus zero)
0n (BigInt zero)
'', "", `` (empty string)
null
undefined
NaN (not a number)

+ Recent posts