Extensible destructuring proposal

tomas kulich tomas.kulich at gmail.com
Fri Jul 24 09:48:54 UTC 2015

This proposal is great!

There is already a lot of valid use-cases, when using es6-Map or
ImmutableMap (instead of just Object) makes perfect sense, so it would be
really sad if one could not easily destructure these.

BTW, what's the reason for having extensible destructuring on (general)
iterables, but only on one very specific Map-like structure (Object)? It
seems at least inconsistent.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20150724/4384844b/attachment-0001.html>

More information about the es-discuss mailing list