-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
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 and Offroaders123
Metadata
Metadata
Assignees
Labels
utilIssues and PRs related to the built-in util module.Issues and PRs related to the built-in util module.