摘要: function myPromise(fn){ let status='pending',successCallback=[],failedCallback=[],data=null,reason=null this.then=function(fulfilled,rejected){ if(status=='pending'){ ... 阅读全文
posted @ 2019-07-31 21:04 dawn~monster 阅读(373) 评论(0) 推荐(0) 编辑