Standard modules - concept or concrete?

Kevin Smith zenparsing at
Thu Jun 20 07:26:06 PDT 2013

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 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list