Is ES5 Strict a fully statically scoped language?

Gavin Barraclough barraclough at
Wed Oct 3 11:53:04 PDT 2012

On Oct 3, 2012, at 10:05 AM, François REMY wrote:

>  In non-strict ES, the “t” function may be eval, and eval could add a “oops” variable in the parent function getOoops.

I don't believe this is true.  This does not constitute a direct call to eval (, and as such the eval will take place in a fresh execution context, rather than the calling function's context.


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

More information about the es-discuss mailing list