Only values are "falsy" (treated as false):
false - the boolean itself
0 - zero
"" - empty string
null - no value
undefined - not assigned
NaN - not a number
Everything else is truthy. Memorize these . You'll use truthy/falsy checks constantly:
if (!username) {
console.log("Please enter a name")
}