Skip to content

Instantly share code, notes, and snippets.

@joshhunt
Forked from cfj/console.reverselog.js
Created March 31, 2014 12:39
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 joshhunt/9891402 to your computer and use it in GitHub Desktop.
Save joshhunt/9891402 to your computer and use it in GitHub Desktop.
var _log = console.log;
window.console.log = function(log){
_log.call(console, log.reverse ? log.reverse() : typeof log === 'string' ? log.split('').reverse().join('') : typeof log === 'number' ? log.toString().split('').reverse().join('') : log);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment