5. Both Choices are the same



Can't seem to get past this exercise am i doing something wrong? or is this a code academy bug?

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


Not a bug, an exclamation mark ( ! ) is missing at the end of "The result is a tie".

In other words, it should be "The result is a tie!";


thank you that fixed it


what's wrong with my code? http://codepen.io/oxy/pen/Xdeydr