Closed
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