SOURCE

function test() {
    async function fun (){
        console.log(1);
    }
    var res = fun();
    res.then((data)=>{
        console.log('resresres');
        console.log(data);
    });
    console.log(2);

}
console 命令行工具 X clear

                    
>
console