if(someVar === null || someVar === undefined || someVar === ""){ //some code }
you can have the same result like this:
if(!someVar){}