JavaScript Undefined Data Type with Example

JS Undefined Data Type

This can only have one value-the special value undefined. If a variable has been declared, but has not been assigned a value, has the value undefined

Example:

Result:

undefined
Wel-Come to aimtocode! 

Read Also: