valores trutas em javascript
/*
1. the Boolean value false
2. the null type
3. the undefined type
4. the number 0
5. the empty string ""
6. the odd value NaN (stands for "not a number", check out the NaN MDN article)
That's only!
*/
if("") {
console.log("Truty");
}else
{
console.log("Falsy"); //Will be excuted
}
Helpless Hamster