Suggestion: Object.symbols

doodad-js Admin doodadjs at gmail.com
Thu Jun 16 01:25:18 UTC 2016


>> 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” :)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20160615/f575ba3c/attachment.html>


More information about the es-discuss mailing list