欢迎光临散文网 会员登陆 & 注册

马老师游戏前端开发入门

2022-10-22 22:59 作者:芢依稀久忆0  | 我要投稿

const resolve = (data) => {      this.#status = 'fulfilled';      const f1f2 = this.queue.shift();      if (!f1f2 || !f1f2[0]) return;      const x = f1f2[0].call(undefined, data);      if (x instanceof Promise2) {        x.then(data => resolve(data), reason => reject(reason));      } else {        resolve(x);      }    }

马老师游戏前端开发入门的评论 (共 条)

分享到微博请遵守国家法律