JavaScript Rock Paper Scissors Trouble


#1

Hey guys, so I've been stuck on step 7 on the Rock Paper Scissors lesson. I don't know what I'm doing wrong here. Everything seems right here, but I get a message from the window at the bottom saying that I return scissors when paper should have won, and vice versa. Yet this is my code.
'''if(choice1 === "paper")
{
if(choice2 === "rock")
return "paper wins"
}
else {
return "scissors wins"
}'''
Is this a bug, or am I just stupid? I've tried changing the things around to where I should get the actual error message, yet I still get the same thing. Any help?