__defineGetter__ returns

Domenic Denicola domenic at domenicdenicola.com
Tue May 7 08:11:04 PDT 2013

From: Mark S. Miller [erights at google.com]

> Much as I hate to say this, but if all major JS platforms support some harmless feature, cross-browser web content will come to depend on that feature. In that case, we are better off doing the work to codify an agreed common behavior for that feature, rather than have all implementors guess separately how to best be compatible with what other implementors are guessing. Remember block nested functions as a cautionary tale.

While I (sadly) agree with the sentiment, I wonder why this logic hasn't been applied to `String.prototype.blink()` and friends? ;)

More information about the es-discuss mailing list