Promise.resolve

medikoo medikoo+mozilla.org at medikoo.com
Wed Feb 6 10:10:34 UTC 2019


You'll find a solid explanantion here:
https://github.com/tc39/ecma262/issues/544#issuecomment-275881668

Array.from, Array.of were designed in very early stage of ES2015, and fact
that they work that way (while e.g. Promise.resolve does not), is now
considered a mistake that was too late to revert at some point.



--
Sent from: http://mozilla.6506.n7.nabble.com/Mozilla-ECMAScript-4-discussion-f89340.html


More information about the es-discuss mailing list