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