返回
摘要: function MyPromise(fun) { let self = this; self.then = function (resolve, error) { resolve&&resolve(self.value); error&&error(self.errValue); return this; } function resolve (value) { ... 阅读全文
posted @ 2018-12-17 14:54 feige_hunter 阅读(123) 评论(0) 推荐(0) 编辑