Hi,
please see
i need help here...
i understand JS will try ro coerce any value into a boolean
if its not a boolean JS will try to convert it to a boolean
where do truthy and falsey apply here?
having trouble with this cocept,
i ask for help
please see
Code:
const money = 0;
if(money) {
console.log ("dont spend it all");
} else
console.log("you should get a job");
i need help here...
i understand JS will try ro coerce any value into a boolean
if its not a boolean JS will try to convert it to a boolean
where do truthy and falsey apply here?
having trouble with this cocept,
i ask for help