5. Doesn't seem to work?


I keep getting this error.
Your compare function does not return 'The result is a tie!' when there is a tie.

When running this code.

/*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";
} console.log("Computer: " + computerChoice);*/
var compare = function(choice1, choice2){
    if (choice1 === choice2) {
     return "This result is a tie!";   

Can't seem to see what it is I'm doing wrong. Can anyone help me?


The result vs This result?


Thanks. I didn't even see that.


I have the same problem what does it mean by The result vs this result?


That the expected output needs to match your output so he uses "This" but the expected output was "The"


thanks gotya ................