how to use if equal to in js code example
Example 1: or statment javscript
if (x === 5 || x === 8)
console.log("x is eaqual to 5 OR 8")
Example 2: equal to or more than javascript
//Equal to or more than
a >= b
//Equal to or less than
a <= b
if (x === 5 || x === 8)
console.log("x is eaqual to 5 OR 8")
//Equal to or more than
a >= b
//Equal to or less than
a <= b