Oops, try again. Did you create a function called compare?


#1

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


#2

A function needs a opening { and closing } bracket

var f=function(){
return something;
}

#3

have done that but is still showing me this
Oops, try again. Did you create a function called compare?


#4

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