摘要: function myPromise(fn){ this.state = 'Pending' this.value this.resolve = function(){ if(this.state != 'Pending'){ return } this.state = 'fulfilled' th 阅读全文
posted @ 2022-10-22 20:00 姜小希 阅读(18) 评论(0) 推荐(0) 编辑