Closed lygstate closed 5 years ago
That's an alternative, certainly (although, per its readme, it doesn't work in IE < 8, which makes it much worse to me). Either way, the polyfills in proposal repos aren't for production use - they're demonstrative, so their quality isn't that important.
https://github.com/ungap/global-this/blob/master/index.js