I wonder, though, if this might create issues for polyfilling:

    // polyfillz.js
    if (this.Promise ===  void 0)
        this.Promise = function() { ... }

    // main.js
    import "polyfillz.js";
    new Promise();

This would refuse to compile, right?  We'd have to introduce all of our
polyfills in a separate (previous) compilation/execution cycle.

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

Reply via email to