isOkayToDrive 함수를 작성하세요.
function isOkayToDrive(who) {
if (who === "son") {
return "Nope!"
} else if (who === "dad") {
return "Good!"
} else if (who === "grand father") {
return "Be careful!"
} else {
return "Who are you?"
}
}
console.log(isOkayToDrive("son"))
module.exports = { isOkayToDrive }