5. Both choices are the same! Oops, try again. Did you create a function called compare?


#1

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

I wrote this code but the error told me "Did you create a function called compare?" and i stucked. It's absolutely the same as in Hint and it doesn't working. Where is a problem?


#2

Oh God, now I see... ))))))))))


#3

For those who are still searching "choice2" instead of "choise2".