Why does my alert always shows up whith the following code :
var choix = "a";
while (choix.toUpperCase() !== "Q") {
choix = prompt(hello + "\n");
if((choix.toUpperCase() !== "A") || (choix.toUpperCase() !== "L") || (choix.toUpperCase() !== "Q")) {
alert("Choisissez L, A ou Q !");
}
}
Aucun commentaire:
Enregistrer un commentaire