mirror of
https://github.com/JasonYANG170/IOTConnect-Web.git
synced 2024-11-27 14:16:34 +00:00
309 B
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