Account
Categories

Null-datatype


Definition:

Null means an empty value given intentionally by the programmer.

The text indicates that the variable has no value.

Syntax:

let variableName = null;

Example:

let data = null;

In this context, the data has a null value, which indicates that it is empty.

Output: