`import` and aliasing bindings

Domenic Denicola domenic at domenicdenicola.com
Fri Dec 28 09:39:14 PST 2012

On Dec 28, 2012, at 12:28, "David Herman" <dherman at mozilla.com> wrote:

> Another example where this could come up is initialization. Since imports tend to be at the beginning of a module, you could end up reading the value of a not-yet-initialized variable too soon.

A code example of this would be awesome. Also, is it a problem ES5 module systems fail to address?

More information about the es-discuss mailing list