Global lexical tier

saam barati saambarati1 at gmail.com
Thu Sep 3 18:36:36 UTC 2015


Sorry for the confusion, I was talking about my stated preference that all
lexical variables should be local
to the program they're defined in.

On Thu, Sep 3, 2015 at 11:30 AM, Brendan Eich <brendan at mozilla.org> wrote:

> saam barati wrote:
>
>> I think we've also hurt ourselves here with regards to considering
>> alternate
>> implementations by having some form of "const" being visible across
>> multiple JS programs for a while now.
>>
>
> This property of top-level const being visible across mutliple programs
> (script elements) holds under the current ES6 spec (global lexical tier).
> Were you remarking on how const under the counter-proposal Jason brought up
> would bind a global object property? Otherwise the
> multiple-programs-see-one-program's-const situation doesn't change from
> either proposal to the other.
>
> /be
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20150903/5b121db0/attachment.html>


More information about the es-discuss mailing list