What if choice 1 is paper(Solved)


Help me(unexpected token else
else if ( choice1 = "paper") {
if(choice2 === "rock") {
return "paper wins";
else {
return "scissors wins";

Replace this line with your code.


Choice 1 should not = "paper". Also when you paste your code in, read what it says in the text box so you paste it with formatting next time plz :smiley:


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.