Does await statement in the callee function causes the caller function to continue executing?

前端 未结 0 860
灰色年华
灰色年华 2020-12-06 15:06
async function innerFunc() {
 await doThis();
 await doThisNext();
 return 5;
}

async function outerFunc() {
 innerFunc();
 return 10;
}

When \'awa

相关标签:
回答
  • 消灭零回复
提交回复
热议问题