When the whole world is about to rain, let's make it clear in our heart together

热爱前端开发,专注于前端

摘要: Promise.all = function(iterable) { return new Promise((resolve, reject) => { let result = [] for(const item of iterable) { item.then(data => { result. 阅读全文
posted @ 2022-02-12 15:40 婷风 阅读(49) 评论(0) 推荐(0) 编辑