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