Module syntax

Kevin Smith zenparsing at gmail.com
Wed Jun 5 11:57:13 PDT 2013


Sorry - corrections to examples:

    import foo from "foo";
    // => import { default as foo } from "foo";

    export default = expr;
    // => let __genident__ = expr; export { __genident__ as default };

    module Foo from "foo";
    Foo.default();

Thanks,

{ Kevin }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130605/d8712119/attachment.html>


More information about the es-discuss mailing list