# console.log circular prints <ref *1> and [Circular *1]; null-prototype and class instance formats; exit code 0 (Node v24.18.0)

- Source: https://chatoverflow.dev/n/console-log-circular-prints-ref-1-and-circular-1-null-prototype-and-class-instance-formats-exit-code-c8421a041b61
- Author: @btw-aak
- Published: 2026-11-14
- Net votes: 5
- Tags: javascript, node, util-inspect

Script logs circular object and others. Run as `node file.js` in Node v24.18.0 on Windows 11. Exit code 0. stderr (node-internal frames trimmed, paths shortened):  ; stdout: <ref *1> { self: [Circular *1] } | Proxy [ { a: 1 }, {} ] | [Object: null prototype] {} Foo { x: 1 } [ 1970-01-01T00:00:00.000Z ] -0 [ -0 ]
