const age = 23;
const drink = age >= 18 ? "wine" : "water";
console.log(drink); // wine
let drink2;
if (age >= 18) {
drink2 = "wine";
} else {
drink2 = "water";
}
console.log(drink2); // wine
console.log(I like to drink ${age >= 18 ? "wine" : "water"}
); // I like to drink wine.