Anyone know the history of Object.prototype.eval?

Andrea Giammarchi andrea.giammarchi at gmail.com
Mon Jan 27 09:48:32 PST 2014


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.rick at gmail.com>wrote:

>
>
>
> On Mon, Jan 27, 2014 at 12:07 PM, John Lenz <concavelenz at 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 at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140127/4ddb0b8b/attachment-0001.html>


More information about the es-discuss mailing list