Answers for "js null vs undefine"

0

js null vs undefine

var TestVar = null;
alert(TestVar); //shows null
alert(typeof TestVar); //shows object
Posted by: Guest on February-14-2021
0

js null vs undefine

var TestVar;
alert(TestVar); //shows undefined
alert(typeof TestVar); //shows undefined
Posted by: Guest on February-14-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language