Is (eval)(code) a direct eval?

Mark S. Miller erights at google.com
Fri Oct 8 20:03:29 PDT 2010


I agree. However, (1,eval)(code) is an indirect eval.

On Sat, Oct 9, 2010 at 4:57 AM, Jeff Walden
<jwalden+es at mit.edu<jwalden%2Bes at mit.edu>
> wrote:

> My reading of the spec says yes.  (eval evaluates to a Reference with an
> environment record [object if in a with, lexical otherwise] as base and
> "eval" as referenced name, and grouping does not GetValue.)  Anyone else
> think I'm mistaken?
>
> Jeff
> _______________________________________________
> es5-discuss mailing list
> es5-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es5-discuss
>



-- 
    Cheers,
    --MarkM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es5-discuss/attachments/20101009/b98a749e/attachment.html>


More information about the es5-discuss mailing list