setTimeout(function () { console.log(1);}, 0);Promise.resolve(function () { console.log(2);})new Promise(function (resolve) { console.log(3);});console.log(4);输出:3 4 undefined 1
添加回答
举报
0/150
提交
取消