5. Both choices are the same!


#1

Hello, can someone tell me what is wrong with this code?

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


#2

the string returned should be an exact match, copy it from the instructions. A exclamation mark is already missing after tie


#3

The function compare from the hint isn’t work. What is wrong?


#4

#5

Please make a new topic, this one is really old. Hijacking an existing topic to ask our question is not according to the guidelines

Not working is a vague term, please expand on this in your new topic.