Is there any difference between declaring a variable:
var a=0; //1
…this way:
a=0; //2
…or:
window.a=0; //3
in global scope?
Is there any difference between declaring a variable:
var a=0; //1
…this way:
a=0; //2
…or:
window.a=0; //3
in global scope?