Scissors wont win!


#1

I cant seem to get this to come out correctly.
My code :

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

Note: This isn't the complete version


#2

well you need the () for the if as well.


#3

I still doesn't work.
What I currently have:

else if (choice1 === "paper"){
    if (choice2 === "rock") {
    return "paper wins"
    }
     else { return "scissors wins"
    }
}

#4

Well now at least this part is correct and the error is somewhere else.
Also you could add a semicolon at the end of the lines with return.