+ 1
How to use || in prompt questions
Is there a mistake in this because when I type any other thing it shows same thing o = prompt("say Addition"); if (o == "Addition"||"+"){ alert("good"); }
2 Respuestas
+ 1
if(o == “Addition” || o == “+”)
+ 1
Oh ok thanks