How to solve this basic ES6-module circular dependency problem?

Jason Orendorff jason.orendorff at
Tue Aug 9 21:04:38 UTC 2016

On Tue, Aug 9, 2016 at 3:03 PM, /#!/JoePea <joe at> wrote:

> Why is it that the body of module C is not evaluated before the bodies of
> modules A and B?

The module system *does* execute all a module's dependencies before
executing that module, *except* in cases like this where there are cycles
in the dependency graph and that requirement is therefore impossible to
satisfy for all modules simultaneously.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list