The Undefined type has only one value, undefined. When a variable is declared without initialization, it is assigned the value of undefined:
var aString;
document.writeln(aString == undefined);
The Undefined type has only one value, undefined. When a variable is declared without initialization, it is assigned the value of undefined:
var aString;
document.writeln(aString == undefined);