JavaScript null data type
JavaScript null data type
JavaScript null as just shown this is the intentional absence of any object value. It is one of JavaScript's and is treated as false for boolean operations.
Any value variable that is set to null is not defined.
Example
Output