Why is null
considered an object
in JavaScript?
Is checking
if ( object == null )
Do something
the
2.Undefined is a type itself while Null is an object.
3.Javascript can itself initialize any unassigned variable to undefined but it can never set value of a variable to null. This has to be done programatically.