See this code:
var a=5; //Scope: Global
b=5; //Scope: Global
What's the difference in a and b? Both belong to the Global scope and hence below to the window object of Document Object Model.
Then what's the difference in a and b? I am new to JavaScript so any help would be appreciated!