mardi 10 novembre 2015

Javascript if statement var is false

Is there a better way of doing this

if(var === false) {
    //do something
}

I can't use if(!var){} because it will go in my if statement if the var is null.

Aucun commentaire:

Enregistrer un commentaire