最近在看红宝书async/await,作者在提到执行顺序时提到了这样一个案例,async function foo() { console.log(2); console.log(await Promise.resolve(8)); console.log(9); } async function bar() { console.log(4); console.log(await 6); console.log(7); } console.log(1); foo(); console.log(3); bar(); console.log(5); 作者给出了具体的分析是最后的输出结果是 123456789;但是在最新版本的浏览器给出的是完全两个不同的结果,结果是123458967,作者解释说这是TC39对await后面是promise的情况如何处理做过一次修改,但也没有详说,最后提到在实际开发中不关注执行顺序,只关注结果,但是面试关注啊.......有没有了解的大佬来具体分析一下.