Null:
When user declares the variable values as empty in jQuery
Ex:
var a="";
function stringwrite()
{
alert(a) ; //Its shows null
}
undefined:
When user declares the variable values as none in jQuery
Ex:
var a;
function stringwrite()
{
alert(a) ; //Its shows undefined
}
No comments:
Post a Comment