♦ Null in JavaScript
♣ Example7: Null in JavaScript
Null is a data type which contains no value, but still exists, because it can be modified if required by initializing initially to null if required.In this example, Null is illustrated.
Example
Input:
Output: