Skip to content

util: handle circular maps and sets in inspect()

Handle maps and sets with circular references in util.inspect() the way objects and arrays are treated in this case.

Fixes: https://github.com/nodejs/node/issues/14758

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines
Affected core subsystem(s)

util

Merge request reports

Loading