What is undefined datatype?
William Harris
Updated on February 15, 2026
The undefined datatype, whose value is undefined is used to denote an absence of a meaningful value. A variable in JavaScript that is without any value has a
value of undefined
In computing (particularly, in programming), undefined value is a condition where an expression does not have a correct value, although it is syntactically correct. An undefined value must not be confused with empty string, Boolean "false" or other "empty" (but defined) values.
› wiki › Undefined_value