Skip to content

Instantly share code, notes, and snippets.

@JohnIrle
Created March 1, 2021 14:41
Show Gist options
  • Save JohnIrle/7ffdd7a83b7228c4fed19875a12faed8 to your computer and use it in GitHub Desktop.
Save JohnIrle/7ffdd7a83b7228c4fed19875a12faed8 to your computer and use it in GitHub Desktop.
Pretty print a js object that is nested with JSON.stringify and console.log
console.log(JSON.stringify(object, null, ' '));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment