Home

Logical operators

Open the developer console to see the result

Logical operators:
*****************************
(x < 8 && y > 3)    => true
(x < 8 && y > 6)    => false
(x < 8 || y > 3)    => true
!(x < 8 || y > 6)   => false

const e="Logical operators:\n*****************************\n(x < 8 && y > 3)    => true\n(x < 8 && y > 6)    => false\n(x < 8 || y > 3)    => true\n!(x < 8 || y > 6)   => false\n";console.log(e),document.querySelector("pre").innerHTML=e;
//# sourceMappingURL=logical.js.map