摘要: class Promise2 { #status = 'pending' constructor(fn){ this.q = [] const resolve = (data)=>{ this.#status = 'fulfilled' const f1f2 = this.q.shift() if( 阅读全文
posted @ 2023-06-19 20:42 时间观测者 阅读(9) 评论(0) 推荐(0) 编辑