>> Well, a map is more often of dynamic size, mapping from one specific type T 
>> to another specific type U. (Of course, either can be variants.) An object 
>> is a bag of properties of fixed size, with keys of type string|symbol, 
>> values of a type specific to the property, metadata from the property 
>> descriptor, and a prototype chain.

 

That’s exactly what I think of objects and Map. So back to “Object.symbols” :)

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

Reply via email to