SOURCE

console 命令行工具 X clear

                    
>
console
async function testAsync() {
    return "hello async";
}

const result = testAsync();
console.log(result);
result.then(v=>{
    console.log(v)   //hello world
})
<style>#a {&nbsp; &nbsp; border: 1px solid red;&nbsp; &nbsp; display: inline-block;}#b {&nbsp; &nbsp; border: 1px solid green;&nbsp; &nbsp; margin: 2px 2px 2px 2px;&nbsp; &nbsp; height: 50px;&nbsp; &nbsp; width: 500px;}</style><div id="a">&nbsp; &nbsp; <div id="b"></div>&nbsp; &nbsp; <div id="c">&nbsp; &nbsp; &nbsp; &nbsp; <ul></ul>&nbsp; &nbsp; </div></div>