mercredi 4 décembre 2019

JS function doesn't works

i'm programming at the moment a very simple Log-In. I want to make a function, that checks if char is the same as "V7Z'13Px8DtyJp0n'JD;". So far I've done this:

function check(char) {

    If(char == "V7Z'13Px8DtyJp0n'JD;") {

        alert("right");

    }

}

But my Editor(Visual Studio Code) and my Browser(Google Chrome) thinks the last } is wrong. Please Help Me.

P.S. Sorry for my Englisch ._.




Aucun commentaire:

Enregistrer un commentaire