Skip to content

Conversation

fraserharris
Copy link

@fraserharris fraserharris commented Jan 31, 2012

function scope this does not default to the global object when in strict mode (ECMAScript 5). I have explicitly bound local var window to the global window so it works in strict mode.

…trict mode (ECMAScript 5). I have explicitly bound local var 'window' to the global window so it works in strict mode.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant