I was reading the following analysis from David Mark about the js framework \"Sencha\": https://gist.github.com/3279190 and in there he states...
What
I'm not aware of any practical difference but there sure is some difference between referencing as global or as window.var. A simple example:
'use_strict';
console.info(window.foo);
console.info(foo);
window.foo will simply return undefined. foo will give undefined as error. So yes, they are different. But in good code(my example is very bad code) it doesn't look like there is any difference. (but if there is, I really like to know more about it :) )