>
>
> Presumably certain promise libraries would try reset the global Promise to
> AssimilatingPromise (or whatever) for full parity with polyfilled
> environments, which would be fine.
>

If you're using modules, you wouldn't need to mess with the global object.
 You could just import AssimilatingPromise as "Promise" into the current
module.  The local binding would override the global Promise variable.
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to