4/9 Unexpected token }


var userChoice = prompt("Do you choose rock, paper or scissors?")
var computerChoice = Math.random();

else if(computerChoice>=.34 & computerChoice<=.66){
computerChoice= "Paper";
computerChoice=== "Scissors";

What I'm I doing wrong? I don't see this unexpected token } that it's telling me


I think with your first 'else if' statement you should just make it
' else if (computerChoice<=.66) ' because in the order it is in the computer will check if it is less than .33 first and if not it will check if it is less than .66. The rest of that is not needed.


also the last part 'else(computerChoice>=.67)' just can be
'else {
computer choice === "scissors"