Nullish
A value is nullish when it is equal to either null
or undefined
.
Many functions will treat null
and undefined
as equivalent
and so it is useful to have a term that encompasses both of these values.
A value is nullish when it is equal to either null
or undefined
.
Many functions will treat null
and undefined
as equivalent
and so it is useful to have a term that encompasses both of these values.