logicalOperator.js 240 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 var a = true; var b = false; console.log("(a && b) => "); result = (a && b); console.log(result); console.log("(a || b) => "); result = (a || b); console.log(result); console.log("!(a && b) => "); result = (!(a && b)); console.log(result);