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