Array.prototype.toObjectByProperty( element=> )

Naveen Chawla naveen.chwl at
Fri Aug 11 04:11:30 UTC 2017

`Map.fromIterable(allThePeople, person=>` is less verbose for
your use case

On Fri, 11 Aug 2017 at 03:54 Alexander Jones <alex at> wrote:

> As far as I'm concerned, "most data arrays" — at least the ones you're
> speaking about — should actually be `Map`s.

Why? What's the advantage?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list