Skip to content

Instantly share code, notes, and snippets.

@scragg0x
Created October 10, 2017 20:06
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 scragg0x/db08c3f3e5aeca9f8b8a833a64dc130c to your computer and use it in GitHub Desktop.
Save scragg0x/db08c3f3e5aeca9f8b8a833a64dc130c to your computer and use it in GitHub Desktop.
Mean Console
(function () {
const you = ['idiot', 'dumbass', 'dipshit', 'moron', 'shithead'];
const consoleError = console.error;
console.error = function () {
[].push.call(arguments, you[Math.floor(Math.random() * you.length)]);
consoleError.apply(null, arguments);
};
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment