摘要: JS async/await 不能阻塞返回 非Promise对象 测试代码1 async function fn1(){ console.log(1); await pr1(); await pr2(); console.log(2); }; function fn2(){ console.log( 阅读全文
posted @ 2022-04-27 16:01 STR少寒 阅读(156) 评论(0) 推荐(0) 编辑