复制1const promise = new Promise((resolve, reject) => { 2 console.log(1); 3 console.log(2); 4}); 5promise.then(() => { 6 console.log(3); 7}); 8console.log(4); 9
1const promise = new Promise((resolve, reject) => { 2 console.log(1); 3 console.log(2); 4}); 5promise.then(() => { 6 console.log(3); 7}); 8console.log(4); 9
参考答案:
1 2 4
最近更新时间:2022-01-09
题库维护不易,您的支持就是我们最大的动力!