It stops you from comparing. Why? else if choice2 === “rock” it suppose to return “rock wins!” And in action if it is really a choice 2(a rock) without even going to the next bit of code it will give you immediately “rock wins” as return always return you output and stops rest of the code to execute.
So, you might try the way the guideline in the exercise and my code:
else if(choice1 === “rock”)
if(choice2 === “scissors”)
return “rock wins”;
return “paper wins”;
Now, if choice1===“rock”, it will go to the next bit of code to see if choice 2 is scissors or not. This is how you give the code a chance to compare. By the way you cannot even use console.log() instead of return like console.log(rock wins); you need to nest if/else inside else/if. This exercise is to learn nesting too I guess.