Calvin Metcalf wrote:

Yes


The smell of expressions which evaluate depending on control flow not matching both branches preloading is enough that TC39 defers this and sticks to the ES6 grammar as proposed. We need to see enough clear use-cases where it wins to have import expressions, *and* there's no blow-back from both loading.

/be
On Jan 31, 2014 4:30 PM, "Domenic Denicola" <[email protected] <mailto:[email protected]>> wrote:

    Just to be clear: this is for an ask such that

    ```js
    var foo = Math.random() > 0.5 ? import 'bar' : import 'baz';
    ```

    loads both `'bar'` and a`'baz'` every time.

_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to