JSFiddle - React, Tailwind, and code Playground

by Slico

JavaScript

/*if both monkeys are smiling or neither of them - you are in trouble*/
var monkeyA = false;
var monkeyB = true;
let smile;

if (monkeyA === monkeyB) {
  smile = "you are in trouble"
} else {
  smile = "it´s ok"
}
console.log(smile)