[[Writable]] is specified in defining getter / setter

Allen Wirfs-Brock allen at wirfs-brock.com
Sun Jun 24 14:10:37 PDT 2012


Yes, you are correct.  Please file the bug.

Thanks for ready the spec. so carefully.

Allen
On Jun 24, 2012, at 1:10 PM, Yusuke Suzuki wrote:

> Hello,
> 
> I think I found a issue of current draft.
> 
> In current draft, 13.3 Runtime Semantics: Property Definition Evaluation, getter and setter, step 9,
> 
>     9. Let desc be the Property Descriptor{[[Set]]: closure, [[Writable]]: true, [[Enumerable]]: true, [[Configurable]]: true}
> 
> In both desc, [[Writable]] property is specified. But because they are getter and setter, we should not specify [[Writable]] property, is it right?
> If it is a issue, I'll file this to bugs.ecmascript.org.
> 
> Regards,
> Yusuke Suzuki
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120624/2624987b/attachment.html>


More information about the es-discuss mailing list