11. BASICS | Truthy and Falsy in JavaScript
In JavaScript, every value is inherently either truthy (evaluates to true in a Boolean context) or falsy (evaluates to false in a Boolean context).
There is a small, fixed number of falsy values
javascript-topicwise-notes.hashnode.dev2 min read