> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On 
> Behalf Of Jon Zeppieri
> Sent: 2. april 2008 17:51
> To: Lars Hansen
> Cc: Waldemar Horwat; es4-discuss@mozilla.org
> Subject: Re: Strict mode recap
> 
> On 3/31/08, Lars Hansen <[EMAIL PROTECTED]> wrote:
> >
> > Having thought more about this, we may get away with less draconian 
> > measures for lexically scoped eval -- it's enough  to simply decree 
> > that eval may not add bindings to the  caller's binding object in 
> > strict mode (a simple run-time check,  effectively the same as 
> > disabling global variable auto-creation).
> >
> >  The observation is that reference forms like expr::[expr] require  
> > the same functionality as the constrained, lexically scoped eval  
> > would require anyway, so the benefit of outlawing eval except for  
> > matters of taste is doubtful both in terms of implementation cost
and 
> > simplified semantics.
> 
> Lars, does this mean that expr::[expr] can't introduce 
> lexical bindings?  Or:  in strict mode, it can't, but in 
> standard it can?

It can't introduce bindings; it's just a name.

--lars
_______________________________________________
Es4-discuss mailing list
Es4-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es4-discuss

Reply via email to