ELSE Statement

 let age=19;

if(age>=18){
    console.log("U can vote");
}
else{
    console.log("U cannot vote");
}

Comments

Popular posts from this blog

Callback Hell

TODO list with DOM

Refactoring callback hell code