Is there any problem in this code , it always says to me you compare function doesnt return


#1


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


#2

an exclamation mark is missing after tie


#3

god !! thank you :grin:


#4