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" <[EMAIL PROTECTED]> To: "Kris Zyp" <[EMAIL PROTECTED]> Cc: "zwetan" <[EMAIL PROTECTED]>; <[email protected]> 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 >> [email protected] >> https://mail.mozilla.org/listinfo/es4-discuss > > > _______________________________________________ Es4-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es4-discuss
