historically window.eval(str, ctx) accepted a second argument too able to give you access inside the context scope, similar to the one you have through the prototype.
Firefox 2.X and FF 3, if I remember correctly, should expose those features, as well as some Rhino 1.6 or lower Regards On Mon, Jan 27, 2014 at 9:29 AM, Rick Waldron <[email protected]>wrote: > > > > On Mon, Jan 27, 2014 at 12:07 PM, John Lenz <[email protected]> wrote: > >> >> https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/eval?redirectlocale=en-US&redirectslug=JavaScript%2FReference%2FGlobal_Objects%2FObject%2Feval >> >> What browsers supported it? >> > > In this bug: https://bugzilla.mozilla.org/show_bug.cgi?id=352045 Brendan > provides a background of the "feature" (more like "bug"). This is useful as > well: http://my.opera.com/hallvors/blog/show.dml/449976 > > > Rick > > _______________________________________________ > es-discuss mailing list > [email protected] > https://mail.mozilla.org/listinfo/es-discuss > >
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

