We (Google) find setting the [[DontEnum]] flag with
propertyIsEnumerable(name, flag) to be quite ugly.  I can't find any
references to why the setter was tagged along onto the getter in this
way?  Is there a reason why we don't want
setPropertyIsEnumerable(name, flag) instead of overloading the getter?

2008/3/5 Lars Hansen <[EMAIL PROTECTED]>:
> This is the draft for the Object class.  It's very similar to the Object
>  object in ES3, the only addition (to my knowledge) is the extra
>  parameter to propertyIsEnumerable.  And of course the specification
>  formalism is new.
>
>  Please comment.
>
>  --lars
>
> _______________________________________________
>  Es4-discuss mailing list
>  [email protected]
>  https://mail.mozilla.org/listinfo/es4-discuss
>
>



-- 
erik
_______________________________________________
Es4-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es4-discuss

Reply via email to