JSFiddle - React, Tailwind, and code Playground

HTML

<h1>See console output</h1>

JavaScript

function isA(){
}
function isB(){
    return false;
}


console.log( isA() && isB() || !isA() && ! isB());
console.log( isA() == isB() );
console.log( false == undefined );