I don't like the # symbol there.

I would prefer something like Map.fromObject({ 'myKey': {}, myKey2: [] });
etc.

On Sun, 30 Jul 2017 at 02:51 Alexander Jones <a...@weej.com> wrote:

> As a follow-up to https://esdiscuss.org/topic/map-literal I've finally (2
> years? Really?) written up a proposal for extensible collection "literal"
> syntax (for Map, Set, Immutable.List, etc.)
>
> https://github.com/alex-weej/es-extensible-collection-literal
>
> Thanks
>
> Alex
> _______________________________________________
> es-discuss mailing list
> es-discuss@mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to