Skip to content

Instantly share code, notes, and snippets.

@adam-lynch
Created October 3, 2013 11:15
Show Gist options
  • Save adam-lynch/6808156 to your computer and use it in GitHub Desktop.
Save adam-lynch/6808156 to your computer and use it in GitHub Desktop.
Pretty prints an object. Useful for IE8- which doesn't support console.debug
alert(JSON.stringify(YOUR_OBJECT_HERE, null, 4));//from: http://stackoverflow.com/a/8611131/727074
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment