- 博客(1)
- 收藏
- 关注
原创 promise 手动实现一部分功能
class Promise{ constructor(executor){ this.PromiseState = "pending"; this.PromiseResult = null; this.callbacks = []; const self = this; function resolve(data){ if(self.PromiseState !== "pen.
2022-04-11 11:43:58
187
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人