Allow for async/await to use global.Promise and not builtin Promise

Jordan Harband ljharb at gmail.com
Wed May 6 06:30:45 UTC 2020


Anything "more efficient" would likely not be spec compliant, which would
break code relying on those guarantees. Overriding any builtin is a bad
practice for well over a decade, and I'm not sure why doing so would be
desirable. "Fast" doesn't matter if correctness is not assured.

On Tue, May 5, 2020 at 11:25 PM medikoo <medikoo+mozilla.org at medikoo.com>
wrote:

> +1
>
> This would allow injecting more efficient promise alternatives without
> transpilation of async/await
>
>
>
> --
> Sent from:
> http://mozilla.6506.n7.nabble.com/Mozilla-ECMAScript-4-discussion-f89340.html
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20200505/ead7cafa/attachment.html>


More information about the es-discuss mailing list