6. What if choice1 is rock problem


#1

I always get an unexpected token error no matter what I put. If i change something that I think is messing with the else or else if statement the token error just goes to a different statement.


#2

Hi you should close your compare function after the else if statement like that..

var compare =  function(choice1,  choice2 ){
if statement  {

}

else if statement  {

 
}


} < === this one close the compare function

#3

Thank you sometimes with so many brackets you over look stupid stuff like that.