if(someVar === null || someVar === undefined || someVar === ""){ //some code }
you can have the same result like this:
if(!someVar){}
Publicar un comentario
No hay comentarios.:
Publicar un comentario