Is ES5 Strict a fully statically scoped language?

François REMY fremycompany_pub at yahoo.fr
Wed Oct 3 12:40:41 PDT 2012


Indirect eval is something introduced for ES5 Strict only, I believe. Try 
the following code in your browser’s console, and you may be surprised:

((function(t) { t("var body=true"); return function() { return 
body; }; })(eval))()) 



More information about the es-discuss mailing list