async function go(){ return 10; } //得到promise执行结果 // 1.then //2.await 但是只能在async函数中使用,后面只能是promise async function getResult(){ var res =await go(); console.log(res) } getResult()