function chooseYourCoffee(drink) {
const mandalorianCoffee = "black coffee";
console.log(`You chose ${drink}.`);
if (drink === mandalorianCoffee) {
console.log("This is the way... to start the day.");
} else {
console.log("Interesting choice, but not the Mandalorian way.");
}
}
spa-sam / goit-js-hw-05 Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://spa-sam.github.io/goit-js-hw-05/