![javascript - How can I get the full object in Node.js's console.log(), rather than '[Object]'? - Stack Overflow javascript - How can I get the full object in Node.js's console.log(), rather than '[Object]'? - Stack Overflow](https://i.stack.imgur.com/cBoMu.jpg)
javascript - How can I get the full object in Node.js's console.log(), rather than '[Object]'? - Stack Overflow
Wes Bos on X: "🔥 If you have an object being truncated / logged as `[Object]` in Node, you can use console.dir() and pass it a depth. null will show everything! https://t.co/D8BgbR9m3q" /
![global nodejs keyword and object. We all may know about global and scope… | by Mohamed Lamine Allal | Medium global nodejs keyword and object. We all may know about global and scope… | by Mohamed Lamine Allal | Medium](https://miro.medium.com/v2/resize:fit:1350/0*dXHT096hflAgBDzN.png)