Created
October 12, 2018 08:20
-
-
Save VivienAdnot/a641e4132daf0528b8e585294cfa2249 to your computer and use it in GitHub Desktop.
node console.log full object
This file contains 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
const util = require('util'); | |
console.log(util.inspect(myObject, { showHidden: false, depth: null })); | |
// alternative shortcut | |
console.log(util.inspect(myObject, false, null, true)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment