Demo: Truthy and Falsy values

When the string is empty, it has falsy value

When the variable is undefined, it has falsy value

0 (zero) will be false, hence '!0' is 1 i.e true value