What if choice is rock


#1

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>

<In what way does your code behave incorrectly? Include ALL error messages.>
It says the code has an unexpected end of input.

``` var compare = function(choice1, choice2) { if(choice1===choice2) { return "The result is a tie!"; } else if (choice1==="rock") { if (choice2==="scissors") { return "rock wins"; } else{ return "paper wins"; } }
<do not remove the three backticks above>

#2

You are missing the closing bracket for the variable }


#3

Thanks so much man, I really appreciate it