Skip to content

Instantly share code, notes, and snippets.

@dandv
Last active August 29, 2015 14:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dandv/a04de03ed2e2231a32d0 to your computer and use it in GitHub Desktop.
Save dandv/a04de03ed2e2231a32d0 to your computer and use it in GitHub Desktop.
SomeGlobal = {};
for (var i = 0; i <= 10000000; i++) {
SomeGlobal.foo = i;
}
console.log('This is the external script. I have finished executing. SomeGlobal.foo is', SomeGlobal.foo);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment