Unverified Commit 90014b6c authored by Anto Aravinth's avatar Anto Aravinth Committed by Myles Borins
Browse files

util: handle null prototype on inspect

This makes sure the  prototype is always detected properly.

Backport-PR-URL: https://github.com/nodejs/node/pull/23655
PR-URL: https://github.com/nodejs/node/pull/22331
Fixes: https://github.com/nodejs/node/issues/22141


Reviewed-By: default avatarRuben Bridgewater <ruben@bridgewater.de>
Reviewed-By: default avatarMatteo Collina <matteo.collina@gmail.com>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
Reviewed-By: default avatarJohn-David Dalton <john.david.dalton@gmail.com>
parent c8304f65
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment