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