DRAFT
Observed
The values null and undefined are the same
null and undefined are two distinct values
In JavaScript null
and undefined
represent the nullish values. Their values are equal, but do not share the same type.
null === undefined; // false
null == undefined; // true
In JavaScript null
represents the intentional absence of any object value.
In JavaScript undefined
represents when a variable has not been assigned a value.