Unexpected Number


#1

What's wrong with my syntax??

/*var userChoice = prompt("Do you choose rock, paper or scissors?");
var computerChoice = Math.random();
if (computerChoice < 0.34) {
computerChoice = "rock";
} else if(computerChoice <= 0.67) {
computerChoice = "paper";
} else {
computerChoice = "scissors";
} */

var compare = function (choice 1, choice2) {
if (choice1 === choice2) {
return "The result is a tie";
}
};


#2

HI here

var compare = function (choice 1, choice2)

remove the space bewteen choice and 1


#3

Thanks, Marco!:heart_eyes: