promise、async、await異步原理與執行順序

async function async1(){ console.log('async1 start'); await async2(); console.log('async1 end'); } async function async2(){ console.log('async'); } console.log('script start'); setTimeout(
相關文章
相關標籤/搜索