5 Both are the same. HELP


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";


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


lol... i did the same thing xD


how did you solve it?


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