使用ES6模擬Promise

const Promise = (() => { const PENDING = "pending", RESOLVED = "resolved", REJECTED = "rejected", PromiveValue = Symbol("PromiseValue"), // 狀態數據 PromiseStatus = Sym
相關文章
相關標籤/搜索