-3

ここで構文エラーが発生しますが、理由がわかりません。ティア

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

if(computerChoice >= 0.33) {
    computerChoice === "rock";
} else if ( computerChoice >= 0.34 && <= 0.66){
    computerChoice === "paper";
} else (computerChoice >= 0.67 && <= 1) {
    computerChoice === "scissors";
}
4

2 に答える 2