From 86feb9e6403cfa6198ffb6895877c1c00d2a738a Mon Sep 17 00:00:00 2001 From: grant-kun Date: Mon, 26 Sep 2022 07:14:29 -0500 Subject: update (not working) --- node_modules/object-inspect/example/circular.js | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 node_modules/object-inspect/example/circular.js (limited to 'node_modules/object-inspect/example/circular.js') diff --git a/node_modules/object-inspect/example/circular.js b/node_modules/object-inspect/example/circular.js new file mode 100644 index 0000000..487a7c1 --- /dev/null +++ b/node_modules/object-inspect/example/circular.js @@ -0,0 +1,6 @@ +'use strict'; + +var inspect = require('../'); +var obj = { a: 1, b: [3, 4] }; +obj.c = obj; +console.log(inspect(obj)); -- cgit v1.2.3