Turn getGlobalThis() into a constant
Closed this issue · 3 comments
jdalton commented
I noticed this function will modify Object.prototype
whenever it is called (if globalThis
is not available). Can this be turned into a constant instead of a function so that it's done once?
jdalton commented
caridy commented
The only reason for this to be there is because some env do not have globalThis
yet... we can probably drop this at some point.
caridy commented