Is EvalError still needed?

Brendan Eich brendan at mozilla.com
Fri Feb 13 11:06:40 PST 2009


On Feb 13, 2009, at 9:46 AM, Allen Wirfs-Brock wrote:

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

+1, FWIW.

/be

>
>
>> -----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