Module Comments

Erik Arvidsson erik.arvidsson at gmail.com
Thu Dec 6 06:54:29 PST 2012


On Thu, Dec 6, 2012 at 9:42 AM, Kevin Smith <khs4473 at gmail.com> wrote:

> Dave responded by pointing out that we don't want "from" to have
> overloaded semantics.  I actually think this form has potential, because it
> further aligns import with the other binding forms:
>
>     var a = x;
>     var { b } = y;
>
>     // Symmetry!
>
>     import a from "x";
>     import { b } from "y";
>

+1

This also matches what Yehuda and Domenic proposed a few weeks ago.

-- 
erik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20121206/90e62b39/attachment.html>


More information about the es-discuss mailing list