摘要: const PENDING_STATE = "pending"; const FULLFILL_STATE = "fullfilled"; const REJECTED_STATE = "refected"; class Promise { constructor(executor) { if (typeof executor !== "function") { thr... 阅读全文
posted @ 2018-04-23 16:59 SmileSmith 阅读(179) 评论(0) 推荐(1) 编辑