摘要: 理解图: 以下promise 使用了链式调用的方式 传入一个成功 与失败的函数作为参数使用 1 API实现: 2 //立即执行 简单实例 3 let promise = new Promise(function(resolve, reject) { 4 console.log('Promise'); 阅读全文
posted @ 2018-04-16 22:59 蓝色丶格调 阅读(222) 评论(0) 推荐(0) 编辑