samedi 7 mars 2015

Javascript: if with three variables

Is there an easy way to compare three values in an if statement something like



if(value1==value2==value3) {}


Or in my case



if(var1==var2=="0") {}

Aucun commentaire:

Enregistrer un commentaire