Skip to content

util: Handle null prototype on inspect

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

The implementation and texts are taken from the discussion over here: https://github.com/nodejs/node/issues/22141#issuecomment-412572287, https://github.com/nodejs/node/issues/22141#issuecomment-412576559

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

Merge request reports

Loading