Tab Atkins Jr.
jackalmage at gmail.com
Wed Jun 15 23:00:00 UTC 2016
On Wed, Jun 15, 2016 at 3:54 PM, doodad-js Admin <doodadjs at gmail.com> wrote:
>> I consider all of the 'get some arbitrary subset of properties from an
>> object' use cases obsoleted by `Map`. But maybe I'm missing something
>> obvious or not-so-obvious...?
> Objects, obsolete with Map ? “Map” is not meant to replace objects, is it ?
It's meant to replace "objects used as maps". ^_^ That's one of the
major reasons to use Object.keys(), so to justify adding a similar
method for symbol-valued properties, you'd have to present a use-case
that's not better solved by "just use a Map".
More information about the es-discuss