/global-this

A cross engine globalThis

Primary LanguageJavaScriptISC LicenseISC

globalThis

A cross engine globalThis, fully inspired by https://mathiasbynens.be/notes/globalthis

  • ESM as import '@ungap/global-this'
  • CJS as require('@ungap/global-this');
  • JS as <script src="//unpkg.com/@ungap/global-this"></script>

Compatible with IE8 and above, plus all other engines and browsers.