JavaScript -Typ von ungezündet

var x;
if (typeof x === 'undefined') {
   // these statements execute
}
Smoggy Shrew