复制1Promise.resolve().then(() => { 2 return new Error('error!!!') 3}).then(res => { 4 console.log("then: ", res) 5}).catch(err => { 6 console.log("catch: ", err) 7})
1Promise.resolve().then(() => { 2 return new Error('error!!!') 3}).then(res => { 4 console.log("then: ", res) 5}).catch(err => { 6 console.log("catch: ", err) 7})
题库维护不易,您的支持就是我们最大的动力!