Proposal: Map#assign

Oriol _ oriol-bugzilla at
Thu Jan 18 19:24:35 UTC 2018

> I believe there's a very simple way to do this today: new Map([...mapA, ...mapB, ...mapC]).

But this only works if you want to create a new map, of course. Can't be used to assign to an existing map.

- Oriol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list