Proposal: Map#assign

T.J. Crowder tj.crowder at farsightsoftware.com
Thu Jan 18 19:07:44 UTC 2018


On Thu, Jan 18, 2018 at 6:59 PM, Gil Tayar <gil at tayar.org> wrote:
>
> I believe there's a very simple way to do this today:
> new Map([...mapA, ...mapB, ...mapC]).

facepalm

Yup: https://jsfiddle.net/m23Lgkr1/

-- T.J. Crowder
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20180118/bc3f7cec/attachment.html>


More information about the es-discuss mailing list