Print whole deep object in JS

The functions `console.log` or `JSON.stringify` in JavaScript do not print deep nested structures. To workaround, use `util.inspect`:


const util = require('util')
console.log(util.inspect(object_to_dump, { depth: 100, compact: false }))
Categories: bookmarks

Updated: