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