Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js null vs undefine

var TestVar;
alert(TestVar); //shows undefined
alert(typeof TestVar); //shows undefined
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #null #undefine
ADD COMMENT
Topic
Name
9+3 =