condition to check a null object js code example Example: javascript null check if (Var === null) { //code goes here }