These statements helps us to take decision through on our code. we can use if, ifelse, ifelseif and switch statements.
const age = 19;
if (age >= 18) {
console.log(`You can drive 🚗 coz you are ${age} year old `);
} else {
console.log(`You are below 18 years`);
}