JavaScript Typeof Inchinid

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