install-nix-action/node_modules/object-inspect/example/circular.js
Domen Kožar 70742d22d9
v6
2019-11-19 17:50:30 +01:00

5 lines
100 B
JavaScript

var inspect = require('../');
var obj = { a: 1, b: [3,4] };
obj.c = obj;
console.log(inspect(obj));