芭比龙

导航

2020年9月8日 #

手写Promise/Promise.all/promise.race

摘要: 转载自:https://www.bilibili.com/read/cv7483834/ Promise class Promise1{ state='pending' succeed=null fail=null constructor(fn){ fn (this.resolve.bind(thi 阅读全文

posted @ 2020-09-08 11:00 芭比龙 阅读(475) 评论(0) 推荐(0) 编辑