【手寫Promise】史上最最最詳細的手寫Promise教程

轉載自https://yq.aliyun.com/articles/613412javascript class Promise{ constructor(executor){ this.state = 'pending'; this.value = undefined; this.reason = undefined; this.onResolvedCallb
相關文章
相關標籤/搜索