Indirect eval experiment

liorean liorean at gmail.com
Thu Oct 30 08:58:30 PDT 2008


2008/10/30 Mark S. Miller <erights at google.com>:
> function foo(a, b, c) { return b(c); }
> foo(3, eval, 'a'); // yields 3

Doesn't work in Opera, and IIRC ES3 has it that the engine does not
need to allow this kind of use of eval at all.
-- 
David "liorean" Andersson


More information about the Es-discuss mailing list