const a = 3; const b = -2; console.log(a > 0 && b > 0); // Expected output: false
JavaScript Demo: Expressions - Logical AND
Run ›
Reset