Comparison Operations"> Comparison Operations">
When using boolean coercion, the following values are considered "falsy":
false0"" (empty string)nullundefinedNaN (not a number, e.g. 0/0)document.all¹ (browser context)Everything else is considered "truthy".