Unexpected token else


I have a problem with my code, but i don't see the error.

else if (choice1==="scissors")
if (choice2==="rock")
    return"rock wins";
    return "scissors wins";


You're missing an opening bracket


Omg yeah,

Sometimes you see nothing xD

Thank you


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