Is EvalError still needed?

Allen Wirfs-Brock Allen.Wirfs-Brock at microsoft.com
Fri Feb 13 09:46:35 PST 2009


I ending up using EvalError for the strict mode situations where we forbid declaration of "eval".

>-----Original Message-----
>From: Waldemar Horwat [mailto:waldemar at google.com]
>Sent: Thursday, February 12, 2009 4:58 PM
>To: Brendan Eich
>Cc: Mark S. Miller; Allen Wirfs-Brock; Chris Pine; es-
>discuss at mozilla.org
>Subject: Re: Is EvalError still needed?
>
>If we no longer throw EvalError, we should take the class out of the
>body of the spec too.  It just clutters things up.
>
>The obvious place for such obsolete things is Annex B.  It contains such
>gems as Date.getYear and octal digits in literals.
>
>    Waldemar



More information about the Es-discuss mailing list