SyntaxError: Unexpected token <=


#1

Where is the error?

var userChoice = prompt("Pedra, Papel ou Tesoura?");
var computerChoice = Math.random();
console.log(computerChoice);
if(computerChoice <= 0.33){
computerChoice = "pedra";
}else if(computerChoice >= 0.34 && <= 0.66){
computerChoice = "papel";
}else{
computerChoice = "tesoura";
}


#2

this is not valid condition: Either do it like this:

computerChoice >= 0.34 && computerChoice <= 0.66

or you could just do it like this

computerChoice <= 0.66