Why globalThis instead of something intuitive like globalObject, systemGlobal, or globalEntity?

Jordan Harband ljharb at gmail.com
Sat Sep 21 21:10:29 UTC 2019


This question is more appropriate for the proposal repo, in which a very
lengthy naming document will hopefully answer all of your questions:
https://github.com/tc39/proposal-global/blob/master/NAMING.md

Please address all further comments or replies on this topic to the
proposal repo. Thanks!

On Sat, Sep 21, 2019 at 11:12 AM #!/JoePea <joe at trusktr.io> wrote:

> I know it may be too late for this, but I imagine `globalThis` can bring
> confusion to beginners, especially ESL beginners.
>
> Things like `globalObject`, `systemGlobal`, or `globalEntity` would've
> been more intuitive; they make sense in plain English.
>
> Well anyways, have a good weekend!
>
> - Joe
>
>
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20190921/9a89808e/attachment.html>


More information about the es-discuss mailing list