eval on non-strings

Xavier MONTILLET xavierm02.net at gmail.com
Sun Feb 26 02:57:44 PST 2012


Or it should call its toString method.

Sent from my smartphone.
On Feb 26, 2012 11:37 AM, <corey at octayn.net> wrote:

> From ES5 15.1.2.1, eval will return its input if it is not a string. I
> don't
> see anything relying on this, and I think that if eval is given anything
> *but*
> a string, an exception should be thrown.
>
> --
> Corey Richardson
> _______________________________________________
> 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/20120226/dcbba5c0/attachment.html>


More information about the es-discuss mailing list