>> Map/Set:
>> Size property should be a getter property with no matching setter.  It's 
>> defined on the property.
>> What is its name?  size, count, or length?  Decide on es-discuss.


Given that Array already uses `length`, it seems like the obvious choice.

Some of the things discussed should probably considered in the wider context of 
a well-designed collection library. Is anyone working on such a thing? Should 
there be efforts to make it happen (whether inside TC39 or externally, whether 
via a single party or via multiple parties)? It might not make it into ES.next, 
but it could inform decisions. Such a library is such a core element of a 
programming language that we should have a good one as soon as possible. The 
same holds for other utility functionality (IMHO, ES.next is still too frugal 
in this department).

Axel

-- 
Dr. Axel Rauschmayer
[email protected]

home: rauschma.de
twitter: twitter.com/rauschma
blog: 2ality.com



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

Reply via email to