source:
frontend/node_modules/object-inspect/example/circular.js
| Last change on this file was 9af201e, checked in by , 12 days ago | |
|---|---|
|
|
| File size: 116 bytes | |
| Line | |
|---|---|
| 1 | 'use strict'; |
| 2 | |
| 3 | var inspect = require('../'); |
| 4 | var obj = { a: 1, b: [3, 4] }; |
| 5 | obj.c = obj; |
| 6 | console.log(inspect(obj)); |
Note:
See TracBrowser
for help on using the repository browser.
