Why is null considered an object in JavaScript?
null
object
Is checking
if ( object == null ) Do something
the
In Javascript null is not an object type it is a primitave type.
primitave
What is the difference? Undefined refers to a pointer that has not been set. Null refers to the null pointer for example something has manually set a variable to be of type null