On 3 January 2012 07:21, Brendan Eich <bren...@mozilla.com> wrote:
> It's not obvious if the static scope is built up from <sript> element to 
> successive <script> element, either. Must I read all the scripts? The 
> conditionally generated ones too?
>
> The top level is hard. The only way to be sure is to use pure lexical scope 
> (in Dave's proposal, use module {...}).

Ah, but wrapping into modules is incompatible with having multiple
script parts. For multi-part scripts we need a way to switch the
_proper_ top-level into extended mode. Or should I not be able to
write (the relevant bits of) a multi-part script in extended mode at
all?

/Andreas
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to