Promise.resolve

Sultan thysultan at gmail.com
Sat Feb 2 20:25:10 UTC 2019


Was there any reason Promise.resolve was not afforded the ability to
dispatch outside of `this` pointing to the `Promise` constructor?

For example:

const {resolve} = Promise
resolve(1234)

This currently throws.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20190202/b37ee418/attachment.html>


More information about the es-discuss mailing list