install-nix-action/node_modules/object-inspect/example/circular.js
Domen Kožar 08403cd828
v5
2019-11-13 17:14:48 +01:00

5 lines
100 B
JavaScript

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