Commit Graph

869 Commits

Author SHA1 Message Date
qianguyihao
2444bf14ac add(Promise): then() 中传入非函数时,会发生值穿透 2023-06-24 18:39:09 +08:00
qianguyihao
a74ed1a3f5 add: window.onerror、unhandledrejection 事件监听异常 2023-06-24 17:15:09 +08:00
qianguyihao
f897d3add4 add: Promise的类方法,列出表格 2023-06-24 11:32:51 +08:00
qianguyihao
a9d941ccfb add: util.promisify() 2023-06-24 11:21:25 +08:00
qianguyihao
fececc2c2f add: Promise 状态图 2023-06-24 10:03:48 +08:00
qianguyihao
37b83f033b update(异常处理): then()中遇到异常如何处理 2023-06-24 07:36:54 +08:00
qianguyihao
ec6f6ae33e update(异常处理): 目录结构调整 2023-06-24 06:58:12 +08:00
qianguyihao
2ebc5b958d add: 通过 throw 抛出异常 2023-06-17 23:56:31 +08:00
qianguyihao
9775dff70f add(Promise): then()中遇到异常的代码举例 2023-06-14 07:40:54 +08:00
qianguyihao
bbdacc9d10 update(Promise): catch()方法 2023-06-12 23:58:39 +08:00
qianguyihao
6ede125f8f update(Promise): 处理链式调用中途失败的情况 2023-06-12 22:52:35 +08:00
qianguyihao
0feba145c0 update: rename 2023-06-12 06:39:07 +08:00
qianguyihao
7fd19fb328 update(Promise): catch()方法的返回值 2023-06-12 06:23:48 +08:00
qianguyihao
2dbce6df1c update: Promise中,then() 方法的返回值 2023-06-12 00:12:25 +08:00
qianguyihao
c4621ae2f7 update: Promise的状态和回调函数 2023-06-11 22:37:32 +08:00
qianguyihao
ab182deed4 add: try catch 捕获异常 2023-06-11 17:19:39 +08:00
qianguyihao
ac639feb28 add: Promise执行顺序面试题 2023-06-08 17:11:24 +08:00
qianguyihao
206f2048bc update: 宏任务和微任务的分类 2023-06-08 16:38:04 +08:00
qianguyihao
6c45586bd6 add: await 后面也可以跟一个异步函数 2023-06-08 14:51:20 +08:00
qianguyihao
a44c851492 add: 异步函数的异常处理 2023-06-08 14:38:50 +08:00
qianguyihao
b76890902e add: 异步函数的返回值 2023-06-08 13:15:20 +08:00
qianguyihao
dc02aaf524 add: 用生成器封装链式调用、用 async ... await 封装链式调用 2023-06-06 21:14:11 +08:00
qianguyihao
0a805f1ea9 update: 回调函数的文案优化 2023-06-02 15:36:59 +08:00
qianguyihao
c89c7373b9 update: Promise的链式调用文案 2023-06-02 15:31:06 +08:00
qianguyihao
e0a2a64278 update: Promise 的链式调用 2023-06-01 20:51:27 +08:00
qianguyihao
3cbcb4436c update: Promise 的链式调用 2023-05-31 20:39:42 +08:00
qianguyihao
756a4caff6 add: yield* 的使用 2023-05-30 08:26:12 +08:00
qianguyihao
7fb0fdb0fc add: 生成器 2023-05-28 20:30:46 +08:00
qianguyihao
3f964b6467 add: 中断迭代器 2023-05-27 22:58:15 +08:00
qianguyihao
ef7f9cab06 add: 将自定义类封装为可迭代对象 2023-05-27 18:05:38 +08:00
qianguyihao
ba2a9588d8 add: 可迭代对象的应用场景 2023-05-27 17:36:47 +08:00
qianguyihao
171b88b93c add(迭代器): 将普通对象封装为可迭代对象,遍历键值对 2023-05-26 07:47:42 +08:00
qianguyihao
df514e8b29 update: 迭代器 2023-05-25 21:37:02 +08:00
qianguyihao
1cd8e66281 add(迭代器): 将普通对象封装为可迭代对象 2023-05-25 21:23:39 +08:00
qianguyihao
7085649e63 add: 迭代器的概念 2023-05-24 17:38:38 +08:00
qianguyihao
f49777494f add: Promse.allSettled()和Promise.any() 2023-05-23 20:17:30 +08:00
qianguyihao
c88beb6275 update: Promise.all() 解释 2023-05-23 00:18:24 +08:00
qianguyihao
84250b32af update: Promise.all() 解释 2023-05-22 20:59:21 +08:00
qianguyihao
25201555d0 update: Promise.resolve()和Promise.reject() 2023-05-22 00:00:08 +08:00
qianguyihao
59b9234e8a update: Promise 类的方法 2023-05-21 22:17:52 +08:00
qianguyihao
6dfd922dda add(Promise): finally() 方法 2023-05-21 21:44:41 +08:00
qianguyihao
a62df0fef0 add: catch() 方法的执行时机 2023-05-21 21:20:23 +08:00
qianguyihao
d299f75597 add: catch() 方法传入回调函数的返回值 2023-05-21 20:29:49 +08:00
qianguyihao
fecb825086 add: then() 方法传入回调函数的返回值类型 2023-05-21 16:07:48 +08:00
qianguyihao
47ef28da96 add: Promise实例的方法 then 和 catch 2023-05-21 14:16:46 +08:00
qianguyihao
b341c6b7f5 update: rename 2023-05-21 00:11:36 +08:00
qianguyihao
1ceff18422 add: resolve() 传入不同值 2023-05-20 23:47:26 +08:00
qianguyihao
cd8e619952 add: 处理异步任务的基本模型(Promise写法) 2023-05-19 14:28:12 +08:00
qianguyihao
c2676d7f33 update: 处理异步任务的基本模型(ES5写法) 2023-05-19 14:09:13 +08:00
qianguyihao
b5945a72d7 add: 处理异步任务的基本模型 2023-05-18 21:21:14 +08:00