Skip to content

Instantly share code, notes, and snippets.

@jonathantneal
Created April 9, 2020 14:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonathantneal/82e8ce2aba93c32b09aa2d265713b89b to your computer and use it in GitHub Desktop.
Save jonathantneal/82e8ce2aba93c32b09aa2d265713b89b to your computer and use it in GitHub Desktop.
globalThis: Defines globalThis in all environements (107 bytes, 107 bytes gzipped)
Object.prototype.__defineGetter__('_t', function () {
return this
}), _t.globalThis = _t, delete Object.prototype._t
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment