Created
March 1, 2021 14:41
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| console.log(JSON.stringify(object, null, ' ')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment