摘要: async function asyncAwaitFn(num) { return await new Promise((resolve, reject) => { setTimeout(() => { console.log(num) resolve(num+1) }, 1000); })} co 阅读全文
posted @ 2019-05-29 15:36 苹苹淡淡 阅读(1687) 评论(0) 推荐(0) 编辑