Is (eval)(code) a direct eval?

Mark S. Miller erights at
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<jwalden%2Bes at>
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es5-discuss mailing list