JS null gegen undefin
var TestVar;
alert(TestVar); //shows undefined
alert(typeof TestVar); //shows undefined
Terrible Termite
var TestVar;
alert(TestVar); //shows undefined
alert(typeof TestVar); //shows undefined
var TestVar = null;
alert(TestVar); //shows null
alert(typeof TestVar); //shows object