Computer Choice Part Two


#1



The error says "SyntaxError: Unexpected token {" I don't know what's wrong


var userChoice =prompt("Do you choose rock,paper or scissors?")
var computerChoice= Math.random()
console.log(computerChoice)
if (computerChoice<0.34){
computerChoice="Rock";
}
else if (computerChoice<-0.66){
    computerChoice="Paper";
}
else(computerChoice<1){
    computerChoice="Scissors";
}


#2

Hi the else statement doesn't take any condition


#3

Thank you again,!!!!!