ES Modules: suggestions for improvement

Isaac Schlueter i at izs.me
Wed Jun 27 11:26:23 PDT 2012


On Wed, Jun 27, 2012 at 11:15 AM, Isaac Schlueter <i at izs.me> wrote:
> import {myX: x, myY: y, z} from "foo"
> // comparable to:
> let {myX: x, myY: y, z} = require("foo")
>

Um.. I got the destructuring backwards, didn't I?


> Of course not. You can export a mutable object if you want to. You can export whatever you want.

I seem to have missed that you already answered my question about
freezing.  Consider it withdrawn.


More information about the es-discuss mailing list