Why is null considered an object in JavaScript?
null
object
Is checking
if ( object == null ) Do something
the
null is an object. Its type is null. undefined is not an object; its type is undefined.
undefined