Created
October 20, 2017 16:35
-
-
Save kjlape/aba24c5421255b334b641aa79145f9be to your computer and use it in GitHub Desktop.
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
| function purty(object, indent = 2) { | |
| return JSON.stringify(object, null, indent) | |
| } | |
| function pp(object, ...rest) { | |
| console.log(purty(object, ...rest)) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment