Question 5! both equations the same :)


#1

I don't seem to see whats wrong, can someone show me?


#2

You need to wrap your if statement inside the function.

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

#3

Then you need to run said function