Both Choice are same


#1


https://www.codecademy.com/en/courses/javascript-beginner-en-Bthev-mskY8/1/1?curriculum_id=506324b3a7dffd00020bf661#

there was a problem with your syntax


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

i have done what exactly asked in lesson 5, but it is not processing. Please guide me


#2

remove =
if(choice1 ==== choice2){ //wrong

@textplayer19036


#3

can you please clarify it. what i have to remove an where? bit confused


#4

you have ====(4 equals sign)

it can be == or === but never ====
@textplayer19036