how to compare variables in js if condition code example Example: or statment javscript if (x === 5 || x === 8) console.log("x is eaqual to 5 OR 8")