I typed the exact same thing as the hint but it's still wrong



As the title suggests, I typed in the exact same code from the hint and it states,

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

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


the string should be exact same.you missed a !


Thanks! I just saw another question before realising it.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.