摘要: console.dir(Promise); const p = new Promise((resolve, reject) => { reject("失败"); resolve("成功!"); }) async function getA(){ // await后是一个Promise,如果不是也会默 阅读全文
posted @ 2020-02-21 17:07 Samve 阅读(1062) 评论(0) 推荐(0)