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 <waldron.r...@gmail.com>wrote: > > > > On Mon, Jan 27, 2014 at 12:07 PM, John Lenz <concavel...@gmail.com> 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 > es-discuss@mozilla.org > https://mail.mozilla.org/listinfo/es-discuss > >
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss