Allen Wirfs-Brock (2014-02-18T18:09:02.000Z)
On Feb 18, 2014, at 9:55 AM, Erik Arvidsson wrote:

> https://bugs.ecmascript.org/show_bug.cgi?id=2511
> 
> We now have our first setter in the spec. However, it is speced to return the value itself. This is pretty inconsistent with WebIDL and the common practice to not include a return value in setters in object literals.
> 
> Can we get the spec changed to return undefined?

undefined seems fine, as the result of the set function is never returned to userland when it is invoked as a setter. 

Allen






> 
> 
> 
> _______________________________________________
> 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/20140218/d104c737/attachment.html>
domenic at domenicdenicola.com (2014-02-21T16:26:49.000Z)
On Feb 18, 2014, at 9:55 AM, Erik Arvidsson wrote:


> Can we get the spec changed to return undefined?

undefined seems fine, as the result of the set function is never returned to userland when it is invoked as a setter.