JSMinds

Play With Null and Undefined Data Types

// number datatype variable a and b let a = null; // null acts as object let b = undefined // check datatype console.log("a is of " + typeof(a) + " datatype"); console.log("b is of " + typeof(b) + " datatype");