摘要: Promise 是异步编程的一种解决方案。 Promise /** * 属性 */ Promise.length Promise.prototype /** * 方法 */ Promise.all(iterable) // 所有成功触发成功 任何失败触发失败 Promise.race(iterabl 阅读全文
posted @ 2020-06-24 20:43 whosmeya 阅读(1514) 评论(2) 推荐(2) 编辑