In Javascript you can do let a = undefined, defining the variale a as undefined.
A significant difference to defining it as null is that typeof null == "object", while typeof undefined == "undefined".
In Javascript you can do let a = undefined, defining the variale a as undefined.
A significant difference to defining it as null is that typeof null == "object", while typeof undefined == "undefined".