how to check if a value is null in js code example Example: js check null if (Var === null) { //code goes here }