摘要: 1. // 输出1和3, 2不会输出 const p = new Promise(() => { console.log(1) }) p.then((res) => { console.log(2) }) console.log(3) 2. // 先输出3,在输出then:success1,不会输出 阅读全文
posted @ 2021-12-28 17:46 徐同保 阅读(0) 评论(0) 推荐(0) 编辑