globalThis
globalThis is a global object that represents the global scope in JavaScript environments. It provides a consistent way to access the global object regardless of the environment (e.g., window in browsers, self in service workers, global in Node.js)
Exey Panteleev | CC BY 2.0