On 2/18/14 1:07 PM, David Bruant wrote:
In practice, the returned value of setting is the value on the rhs of
the =.

That's the value of an assignment expression, yes.

     var o = {set b(v){return 12;}} // this return statement is useless

Unless you explicitly getOwnPropertyDescriptor("o", b).set.call(o, 13), yes.

-Boris
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to