Undefined is a term used in programming to describe a variable that has been declared, but has not yet been assigned a value. When a variable is declared without an initial value, it’s type is undefined. This means that the variable does not have any type or value assigned to it. In other words, it’s an empty slot waiting to be filled with something.
Why use the term undefined?
Using the term undefined in programming helps to distinguish between variables that have