It's not every day you get dodged by a dingo. But when it happens, you need to know what to do.
// dingo_dodge.js
if (isDingoNearby()) {
sayHelloToDingo();
dingoWantsToPlay();
runForYourLife();
}
function isDingoNearby() {
return true;
}
function dingoWantsToPlay() {
return true;
}
function runForYourLife() {
console.log("Oh no! The dingo is coming for you!");
}
Remember, it's always better to be safe than sorry. Unless you're a dingo, in which case, go ahead and be as sassy as you like.
Other Animals That Will Also Chase You: A Guide