+1 for unified global-object (currently stage-3)
can someone pm me what the redacted-name is? i'm interested in polyfilling it
for existing projects, e.g.:
```js
/*jslint browser*/
/*global global process*/
(function () {
/*
* polyfill for
* https://github.com/tc39/proposal-global
* assuming redacted-name is "global2"
*/
"use strict";
var global2;
try {
global2 = process.versions.node && global;
} catch (ignore) {
}
global2 = global2 || window;
global2.global2 = global2;
}());
```
kai zhu
[email protected]
> On 11 Aug 2018, at 1:29 AM, Jordan Harband <[email protected]> wrote:
>
> The rationale is in the notes themselves.
>
> Yes, we could do so in principle, but it's rarely useful to do so.
>
> If the impact is insignificant, then we made nothing worse, just delayed some
> information spreading for a few weeks/months. If the impact is significant,
> then this has a positive effect.
>
> I'm not seeing the downside.
>
> On Fri, Aug 10, 2018 at 10:27 AM, kdex <[email protected] <mailto:[email protected]>>
> wrote:
> I'd be interested to learn why it was decided to redact a possible new name
> for `global` in the latest meeting notes[1].
>
> Although I do understand that redacting the name minimizes its chance to gain
> more usage, I doubt that the impact would be significant; if anything, I
> think
> people would have trouble to think of this form of standardization as "open".
>
> By the same argument, we could in principle redact any new prototype/global
> property, couldn't we? Is the intent not to cause a second "smooshgate"?
> What's the point?
>
> [1] https://github.com/rwaldron/tc39-notes/blob/master/es9/2018-07/
> july-24.md#new-name-for-global
> <https://github.com/rwaldron/tc39-notes/blob/master/es9/2018-07/july-24.md#new-name-for-global>
> _______________________________________________
> es-discuss mailing list
> [email protected] <mailto:[email protected]>
> https://mail.mozilla.org/listinfo/es-discuss
> <https://mail.mozilla.org/listinfo/es-discuss>
>
>
> _______________________________________________
> es-discuss mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/es-discuss
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss