You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
309 B
10 lines
309 B
# `globalThis` _(ext/global-this)_
|
|
|
|
Returns global object. Resolve native [globalThis](https://github.com/tc39/proposal-global) if implemented, otherwise fallback to internal resolution of a global object.
|
|
|
|
```javascript
|
|
const globalThis = require("ext/global-this");
|
|
|
|
globalThis.Array === Array; // true
|
|
```
|