Home

Monkey Trouble

We have two monkeys, Abosh and Ethan, and the boolean parameters aSmile and eSmile indicate if each is smiling.
We are in trouble if they are both smiling or if neither of them is smiling. Return true if we are in trouble, otherwise return false.

monkeyTrouble(true, true) → true
monkeyTrouble(false, false) → true
monkeyTrouble(true, false) → false

😳 TIME LEFT: seconds 😳

function monkeyTrouble(aSmile, eSmile) {

}

TOTAL TIME: seconds