-
-
Notifications
You must be signed in to change notification settings - Fork 32.8k
Closed
Labels
metaIssues and PRs related to the general management of the project.Issues and PRs related to the general management of the project.
Description
When looking at the global
object we have quite a few properties that are not enumerable and we have a couple that are.
Using Object.keys(global)
currently results in:
[ 'global',
'process',
'Buffer',
'clearImmediate',
'clearInterval',
'clearTimeout',
'setImmediate',
'setInterval',
'setTimeout',
'module',
'require' ]
URL
and console
are for example not enumerable. Should we maybe reconsider these and either set everything to being enumerable / not enumerable? Or should we just define that everything added from now will be not enumerable?
I could also not find any issue that was directly about this before. Somewhat related: #8810
benjamingr
Metadata
Metadata
Assignees
Labels
metaIssues and PRs related to the general management of the project.Issues and PRs related to the general management of the project.