js if condition or code example
Example 1: or statment javscript
if (x === 5 || x === 8)
console.log("x is eaqual to 5 OR 8")
Example 2: javascript if
if (32 == 32) {
console.log('32 is equil to 32!');
}
if (x === 5 || x === 8)
console.log("x is eaqual to 5 OR 8")
if (32 == 32) {
console.log('32 is equil to 32!');
}