On Thu, Apr 19, 2012 at 9:11 AM, Russell Leggett
<[email protected]>wrote:
> [snip]
> Support is coming. I look at it this way. Some day relatively soon, ES6
> modules will be in node. Soon after that they will start showing up in
> browsers. Over the course of the next year, I bet you'll see module support
> in at least firefox and chrome.
>
In Chrome Canary, with Harmony flag enabled...
module Foo {}
(Foo in this); // true
:)
But, Foo is still undefined.
Rick
> If you set your sights on full modules now, you'll have code that doesn't
> need to be rewritten a year from now. A polyfill will happen, do you want
> to write it?
>
> - Russ
> [snip]
>
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss