Open dten opened 7 months ago
globalThis will work in other environments than the browser where this is not defined as the global object at the top level
globalThis
this
falls back to this so to keep IE compatibility
with this change the module works in test environments like jest which uses jsdom
globalThis
will work in other environments than the browser wherethis
is not defined as the global object at the top levelfalls back to
this
so to keep IE compatibilitywith this change the module works in test environments like jest which uses jsdom