not in javascript 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: not operator js
let a = true;
let b = !a;
console.log(b); //output: false
Example 3: javascript
||// || means or
Example 4: javascript and
var hungry=true;
var slow=true;
var anxious=true;
//&& means and
if(hungry && slow && anxious){
var cause="weed";
}
Example 5: less than or equal to javascript
if(a <= 5){
yourFunction();
}
Example 6: javascript if not
var isDay = false;
if (!isDay) { //Will execute if isDay is false
console.log("It's night");
}