node js greater than or equal to code example
Example 1: js greater than or equal to
>= // greater than or equal
<= // less than or equal
> // greater than
< // less than
== // equals
=== // strictly equals
!= // not equals
!== // stricly not equals
Example 2: javascript
||// || means or
Example 3: || in js
const a = 3;
const b = -2;
console.log(a > 0 || b > 0);
// expected output: true