编程题是这个意思嘛? function fetchResultSeri(fetchs) { const results = new Array(fetchs.length).fill(null) let consoledCount = 0 for(let i = 0; i < fetchs.length; i++){ fetchs[i].then(d => { results[i] = d for(let j = consoledCount; j < results.length; j++){ if(!results[j]) return consoledCount++ console.log(results[j]) } }); } }