Advertisement
Guest User

Untitled

a guest
Aug 25th, 2016
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. var consoleLog = window.console.log;
  2. window.console.log = function() {
  3. if (window.myDebugFlag) {
  4. return consoleLog.apply(this, arguments);
  5. }
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement