4/9 Unexpected token }


#1

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

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

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


#2

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.
'


#3

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