Accessing varibles inside Self-Executing Anonymous Function : 
as per my knowledge varibles inside  Self-Executing Anonymous Function are not accessible from outside but how come var q is accessible outside and y not var p then
(function(){ 
var p = q= 20;

})()
alert(q) --> 10
alert(p) --> p is undefined is the result im getting,`



