function jjj(asi) {
asi=3;
}
jjj();
console.log(asi);
Here I am thinking that asi is a global variable but while running this code it is giving that asi is not defined.
As per the books and official doc I have studied that if you mention the variable name without the keyword var then it becomes global so I think same rule applies to asi variable also
asioutside of the function? No, this is definitely not possible.