is: ', value)
}, reason => {
console.log('rejection of the returned promise occurred, and the reason...occurred, and the value is: ', value)
}, reason => {
console.log('rejection of the returned promise...', value)
}, reason => {
console.log('rejection of the returned promise occurred, and the reason...('rejection of the returned promise occurred, and the reason is: ', reason)
})
如果.catch(onRejected)的...=> {
console.log('rejection of the returned promise occurred, and the reason is: ', reason)
})