Both choices are the same


I can't find where is the syntax error:

Oops, try again. There was a problem with your syntax

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


Remove the semicolon here
Use the function keyword before the parenthesis


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