block scope + direct non-strict eval

Allen Wirfs-Brock allen at wirfs-brock.com
Tue Jan 31 14:05:24 PST 2012


On Jan 31, 2012, at 1:53 PM, Brendan Eich wrote:
> 
> ...
> 
> Indirect eval is always non-strict and scoped only by the global scope.
> 

Almost.  Indirect eval is strict if the eval'ed strings starts with a "use strict";



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120131/d8399af8/attachment.html>


More information about the es-discuss mailing list