What is the undefined type and what is its value?

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);