Can somebody please provide a rationale for why promise reject functions don't resolve the argument, if the argument is a promise, before they pass it to the handlers, like promise resolve functions do?
Promise.resolve(Promise.reject(3)).catch(console.log.bind(console)) // logs 3 Promise.reject(Promise.resolve(2)).catch(console.log.bind(console)) // logs a promise Thanks
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

