you are viewing a single comment's thread
view the rest of the comments
[–] 2 points 3 years ago*

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".

  • source
  • parent