javascript falsy values

JavaScript
// Falsy values:
0
''
undefined
null
NaNthe number 0
the BigInt 0n
the keyword null
the keyword undefined
the boolean false
the number NaN
the empty string "" (equivalent to '' or ``)/*
	Yes.
    Full list of falsy values:
    Anything evaluated to be 0
    '', "", or ``
    null
    undefined
    NaN
    Obviously false
    Big integers relative to 0n
    -------------------------------------------------------------------------
    To clarify, line 31 will print false.
*/
var someCheckIsTrue = false;
const checks = [
  0,
  '',
  "",
  ``,
  null,
  undefined,
  NaN,
  false,
  0n
];
for (const check of checks) {
  if (check) {
    someCheckIsTrue = true;
  }
}
console.log(someCheckIsTrue);    let a = false
    let b = 0
    let c = -0
    let d = 0n
    let e = ''
    let f = null
    let g = undefined
    let h = NaNif (true)
if ({})
if ([])
if (42)
if ("0")
if ("false")
if (new Date())
if (-42)
if (12n)
if (3.14)
if (-3.14)
if (Infinity)
if (-Infinity)

Source

Also in JavaScript: