-
-
Notifications
You must be signed in to change notification settings - Fork 33.5k
Open
Labels
utilIssues and PRs related to the built-in util module.Issues and PRs related to the built-in util module.
Description
Now that we have support for private class fields... we need to figure out how (and if) we want to support them with regards to util.inspect()
...
Right now, those properties are hidden from the output even when showHidden
is true
...
class F { #foo = 1; }
const f = new F()
util.inspect(f) // returns 'F {}'
util.inspect(f, { showHidden: true }) // returns 'F {}'
How should we handle these with inspect?
sindresorhus, Lancear, szmarczak, Offroaders123 and BridgeAR
Metadata
Metadata
Assignees
Labels
utilIssues and PRs related to the built-in util module.Issues and PRs related to the built-in util module.