1.第1题: <script> Promise.reject('err!!!') .then((res) => { console.log('success', res) }, (err) => { console.log('error', err) }).catch(err => { console.log('catch', err) }) // 结果:error err!!! </script> .then函数中的两个参数:第一个参数是用来处理Promise成功的函数第二个则是处理失败的函数也就是说Promise.resolve('1')的值会进入...