Falsy values false null undefined +0, -0, NaN, 0n "" (empty string) document.all in browser environments Values not on this list are truthy. Note: "''" is truthy. It is not an empty string: it is a string that contains an empty string.
A better reference is: https://developer.mozilla.org/en-US/docs/Glossary/Falsy.