最佳答案
我可以使用async关键字将JavaScript函数标记为“async”(即返回一个Promise)。像这样:
async function foo() {// Do something}箭头函数的等效语法是什么?