sfcode
An Online Competing and Development Environment
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