On Oct 3, 2012, at 12:40 PM, François REMY wrote: > Indirect eval is something introduced for ES5 Strict only, I believe.
Nope. See 15.1.2.1.1, no reference to strict. Here's a better example: (function(t){ var x = 'foo'; t("x = 'bar'"); alert(x); })(eval) The indirect eval does not modify the function's local variable. cheers, G.
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss