Comments to the JSON related proposals

Kris Zyp kriszyp at xucia.com
Wed Aug 22 12:20:28 PDT 2007


Always invariant? What's wrong with being able to turn on ReadOnly, but not 
turn it off? Seems I recall seeing code in Rhino that already behaved that 
way...
Kris
----- Original Message ----- 
From: "Brendan Eich" <brendan at mozilla.org>
To: "Kris Zyp" <kriszyp at xucia.com>
Cc: "zwetan" <zwetan at gmail.com>; <es4-discuss at mozilla.org>
Sent: Tuesday, August 21, 2007 2:41 PM
Subject: Re: Comments to the JSON related proposals


> We must keep DontDelete and ReadOnly invariant. See my reply to zwetan.
>
> /be
>
> On Aug 21, 2007, at 2:16 PM, Kris Zyp wrote:
>
>>>> but I think we should not add a TRANSIENT attributes for ES3,
>>>> DONTENUM should be enought and backward compatible
>>>
>>> See http://wiki.ecmascript.org/doku.php?id=proposals:enumerability
>> If we added the ability to set attributes, the propertyIsEnumerable 
>> extra
>> parameter proposal would be unnecessary (albiet convenient). Also,  IMHO,
>> transient and dontenum are different concepts. They both affect 
>> enumeration,
>> but one in the context of introspection and one in the context of
>> serialization.
>> Kris
>>
>> _______________________________________________
>> Es4-discuss mailing list
>> Es4-discuss at mozilla.org
>> https://mail.mozilla.org/listinfo/es4-discuss
>
>
> 




More information about the Es4-discuss mailing list