How do JavaScript’s global variables really work? https://2ality.com/2019/07/global-scope.html …
-
-
Replying to @2ality
Nit, but crucially important for browsers: window does not, in fact, point to the “global object”. More accurate: “global this”. https://mathiasbynens.be/notes/globalthis#terminology …
3 replies 0 retweets 4 likes -
Replying to @mathias
Thanks, I added a todo for me. I’ll have to think about how much of this I want to expose to my readers.
1 reply 0 retweets 0 likes
Replying to @2ality
No need to explain in detail. Simply not calling it “the global object” would make it accurate.
10:51 AM - 8 Jul 2019
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.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.