SOURCE

const requst = () => {
    return new Promise((resolve,reject) => {
        setTimeout(() =>{ resolve(2222) }, 1000)
    })
}


const doIt = async () => {
    const a = await requst().then(res => {
            console.log(res,'res')
            return res
        }
    ).then(re => {
        console.log(re,'rrrrr')
        return 99999
    });

    console.log(a,'aaaaaa')
}
doIt()//rerrrrrrrrrrrr

console 命令行工具 X clear

                    
>
console