Brandon Benvie (2013-07-29T20:26:04.000Z)
domenic at domenicdenicola.com (2013-08-02T20:06:37.152Z)
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.