V8 intends to ship “globalThis”, a universal mechanism to access the global object even in strict functions or modules, regardless of the platformhttps://groups.google.com/a/chromium.org/forum/m/?_escaped_fragment_=msg%2Fblink-dev%2F6fxzDrO-9Oc%2FPm4cGt8qBAAJ …
-
Show this thread
Replying to @feross
Hah, yeah with you that it looks terrible but does solve a real problem. Beats checking for `window`, `global`, and `self` everywhere.
4:57 AM - 11 Sep 2018
0 replies
0 retweets
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.