NodeJS: Using console.dir() over console.log() with deeply nested objects.
console.dir() seems rather redundant. At least with console.log(), you can add as many arguments as you want, but with console.dir(), you can only log one. Despite that, for debugging, I'll be using console.dir() more in future. Here's why? Let's tak...
Feb 6, 20243 min read2.2K
