and or in if statement javascript code example Example: or statment javscript if (x === 5 || x === 8) console.log("x is eaqual to 5 OR 8")