摘要: ![](https://img2020.cnblogs.com/blog/1904944/202007/1904944-20200731180257000-1957070007.jpg) 阅读全文
posted @ 2020-07-31 18:04 见嘉于世 阅读(602) 评论(0) 推荐(0) 编辑
摘要: 最近在刷面试题时,遇到了这么一道 Promise 真题:(考察值穿透) Promise.resolve(1) .then(Promise.resolve(2)) .then(3) .then() .then(console.log) 首先 Promise.resolve(1) 表示异步已经成功,接下 阅读全文
posted @ 2020-07-31 14:54 见嘉于世 阅读(1720) 评论(0) 推荐(0) 编辑