null

Try it yourself:

See also:

null: absent value marker

null represents intentional absence of a value. It is not zero, an empty string, or NaN.

Use

Use nullish() to supply a default, typeOf() to inspect data, and isNumeric() before arithmetic. NaN instead represents an invalid numeric result.

Caveat

Decide whether null means unknown, not applicable, or missing; those meanings may need different handling.

All constants