In conditions (if, while, ternary), JavaScript coerces values to booleans. Knowing the 5 falsy values prevents logical errors — especially with 0 and empty strings, which are valid values but evaluate ...
Most rules target JavaScript and TypeScript, but some also lint CSS, HTML, JSON, and Markdown when used with the matching ESLint language plugin.