Skip to content

Instantly share code, notes, and snippets.

@rexmortus
Created May 21, 2011 00:51
Show Gist options
  • Save rexmortus/984092 to your computer and use it in GitHub Desktop.
Save rexmortus/984092 to your computer and use it in GitHub Desktop.
Testing myObject in JS
if( 'myObject' in window ) {
console.log( '--- AWWYEA ---' );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment