JavaScript Global Functions
The undefined property indicates that a variable has not been assigned a value.
![]()
The undefined property is supported in all major browsers.
Test if variables are undefined:
The output of the code above will be:
JavaScript Global Functions
Your message has been sent to W3Schools.