Skip to content

Instantly share code, notes, and snippets.

@queckezz
Created July 26, 2013 15:15
Show Gist options
  • Save queckezz/6089701 to your computer and use it in GitHub Desktop.
Save queckezz/6089701 to your computer and use it in GitHub Desktop.
Outputs all self-defined variables on the window object.
for( var b in window ) {
if( window.hasOwnProperty(b) ) console.log( b );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment