function Foo(){'use strict' console.log(this.location); } Foo()
function Foo(){'use strict'
console.log(this.location);
}
Foo()
TypeError
null
undefined
当前窗口的 Location 对象