5 Both are the same. HELP


#1


Excercise 5 Both are the same.


Every time hit Submit i get a, "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";
    }
};


#2

nvm. I forgot the ! ..... fixed it.


#3

lol... i did the same thing xD


#4

how did you solve it?


#5

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