+ 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 Answers
+ 1
if(o == âAdditionâ || o == â+â)
+ 1
Oh ok thanks