Please what am I getting wrong, I am stucked here


#1

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

here is the reply

Oops, try again. Your compare function does not return 'The result is a tie!' when there is a tie.


#2

you're missing an ! at the end of "...tie" it should read:

return "The result is a tie!"