Replies: 0 comments 10 replies
|
If you like to change that, I think best would be a concrete suggestion. Non-enumerable and enumerable properties are currently distinguished with colors: We currently use all kinds of brackets ( Non-enumerable properties are not visible by default using |
|
Thinking about it: we could remove the brackets around symbols. They would still be distinguishable from regular properties due to their round brackets without quotes. |


Uh oh!
There was an error while loading. Please reload this page.
Currently, in node v17.3:
The brackets on "cause" are apparently to denote that it's non-enumerable - but there's also brackets on the enumerable symbol, and the non-enumerable symbol is omitted entirely.
Should perhaps non-enumerability be indicated with something that doesn't have an existing meaning?
cc @nodejs/util
All reactions