nested import statements

#!/JoePea joe at
Mon Oct 12 19:49:54 UTC 2020

Why isn't it a thing yet?


At runtime they'd be similar to `await`ing an `import` statement.

Maybe a requirement should be that nested (statically-analyzable)
imports should appear only within `async` functions (so they operate
the same as `await import()`).

Is there something bad about the idea that isn't described in those writings?


More information about the es-discuss mailing list