On 7/29/2013 1:09 PM, Brendan Eich wrote:
Brandon Benvie wrote:
On 7/29/2013 11:33 AM, Kevin Smith wrote:
The value of uniqueness lies in the fact that you can design protocols without having to globally coordinate on property or method names. (E.g. iterator)

I think {keys, maps, values} (and the pivot to using Symbols and functions for them)

BTW that was just one thought (from me), and TC39 went another way to avoid the 'values'/with incompatibility found via Ext.js. (See the meeting notes for the first day, about the @unscopeable list.)

Ah right, forgot about that. Another example (in the wild) is SpiderMonkey's use of "iterator" for the iteration protocol.
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to