What does "as if by the expression" mean in ES3?

Brendan Eich brendan at mozilla.org
Thu Jun 19 23:26:26 PDT 2008

On Jun 19, 2008, at 8:00 PM, Mark S. Miller wrote:
> Yup, that's what I missed. Thanks. That page nowhere says "lexical",
> "nest", or "shadow" so it hadn't occurred to me that it bore on this
> issue.

The issue came up when discussing the "origin value of  
Object.prototype" vs. "as if by the expression new Object", etc., but  
I failed to note it in the "which prototype" page -- sorry, I thought  
I had done that. Shadowing is mentioned in several places, including  
this ticket:


And of course the Object Literals spec.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.mozilla.org/pipermail/es-discuss/attachments/20080619/c49ff16f/attachment-0002.html 

More information about the Es4-discuss mailing list