Global vs GlobalThis
TL;DR
Every JavaScript environment has a global object, but it has different names:
window in browsers
global in Node.js,
and self in Web Workers.
This forced developers to write messy environmen
vibhavaribellutagi.hashnode.dev6 min read