I really don't know where your coming from Stephen. Why would anyone use window.jQuery? I personally use the $ sign. I'm sure you do also.
and I never used
Code:
function f() {
var a; // declaration moved to where it is actually run
alert(window.a);
and never would.
It was not about the "use strict" statement that you introduced. It was just showing that window.variable can be used to get a global variable into a local variable with little work like:
globalgal being a global variable and:
Code:
function f(){
var localelady = window.globalgal;
allows you access it with little to no sweat.