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 }))
Vibe code with your voice
Stop fighting speech recognition.
Just talk → fix mistakes later
"... _brings_ hello world" ❌
↓
"... _prints_ hello world" ✅
Categories:
bookmarks