// beginner learning Js in a program I was asked to start work on a Rock, Paper, Scissors game this is the code I made, but the computer always choses scissors!? any idea why? any help would be awesome!
If computerChoice is between 0 and 0.33, make computerChoice equal to "rock".
If computerChoice is between 0.34 and 0.66, make computerChoice equal to "paper".
If computerChoice is between 0.67 and 1, make computerChoice equal to "scissors".
var userChoice = prompt ("Do you choose rock, paper or scissors?");
var computerChoice = Math.random();
if (computerChoice === (0 , 0.33)) {
console.log("rock");
} else if (computerChoice === (0.34 , 0.66)) {
console.log("paper");
} else {
console.log("scissors");
}