Skip to content

Instantly share code, notes, and snippets.

@AdamBrodzinski
Created October 25, 2012 23:29
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 AdamBrodzinski/3956123 to your computer and use it in GitHub Desktop.
Save AdamBrodzinski/3956123 to your computer and use it in GitHub Desktop.
Nerf console.log
if (!window.console) window.console = { log: function() { } };
@AdamBrodzinski
Copy link
Author

A very short way to nerf console.log for unsupported browsers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment