摘要: /* * pending:初始化成功 * fulfilled:成功 * rejected:失败 * */ function Promise(executor) {// 执行器 this.status = 'pending'; this.value = undefined; this.reason = undefined; this.fulfilledCa... 阅读全文
posted @ 2018-09-09 20:37 五迷 阅读(812) 评论(0) 推荐(0) 编辑