여기서 구문 오류가 발생하지만 이유를 알 수 없습니다. TIA구문 오류 : 예기치 않은 토큰 오류
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";
}
무엇이 오류입니까? 콘솔 로그에는 무엇이 표시됩니까? – Jarrod