摘要: // 构造函数 function Promise(executor){ this.promiseState = 'pending'// 状态 this.promiseResult = undefined// 结果 this.callbacks = []// 指定多个回调函数 const self = 阅读全文
posted @ 2021-05-21 16:22 pangqianjin 阅读(66) 评论(0) 推荐(0) 编辑