6/9 need help


#1

Hello, i don't know what is wrong in my code, can you answer me pls :slightly_smiling:

var comparer = function(choix1, choix2) {
if(choix1 === choix2) {
return "Egalité !";
}

 else if (choix1 === "pierre") {

    if (choix2 === "ciseaux") {
        return "pierre gagne";
   } 
    else {
        return "feuille gagne";
    }
 }

#2

There seems to be a missing } to close the function.


#3

O yeah, i had trouble with it, i added it before and still not working, needed page refreshing.

ty anyway.