1、简介2、引入 async/await 的原因2、原理 const doSomethingAsync = () => { return new Promise((resolve) => { setTimeout(() => resolve('I did something'), 3000) }) } 3、未写完,待续