__defineGetter__ returns

Brandon Benvie bbenvie at mozilla.com
Tue May 7 08:40:12 PDT 2013


On 5/7/2013 8:11 AM, Domenic Denicola wrote:
> While I (sadly) agree with the sentiment, I wonder why this logic 
> hasn't been applied to `String.prototype.blink()` and friends? ;)

These are already in the ES6 spec in fact, under Annex B (normative 
optional). This is where I presume the accessor dunders would go, and 
where dunder proto lived for a short while before it was upgraded to 
required.


More information about the es-discuss mailing list