if (Var === null) { //code goes here }
let myStr = null; if (myStr === null) { console.log("This is a null string!"); } /* This will return: "This is a null string!" */