Created
January 28, 2020 16:51
-
-
Save okovalov/4a540ff956300dbc33ed9c13e5feba0e 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
// | |
// Logging objects | |
// | |
// Don't use | |
console.log(obj); | |
//use | |
console.log(JSON.parse(JSON.stringify(obj))); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment