wishthis/node_modules/ext/docs/global-this.md
2022-01-21 09:28:41 +01:00

309 B

globalThis (ext/global-this)

Returns global object. Resolve native globalThis if implemented, otherwise fallback to internal resolution of a global object.

const globalThis = require("ext/global-this");

globalThis.Array === Array; // true