1、简介

2、引入 async/await 的原因

2、原理

            const doSomethingAsync = () => {
                return new Promise((resolve) => {
                    setTimeout(() => resolve('I did something'), 3000)
                })
            }


3、未写完,待续

03-05 15:59