问题是,我怎样才能摆脱第二次调用300次呢?或者还有另外一种方法,我m doing? Additionally how to do ordered(don不想对第一个api的调用进行排序,因为它们是以混乱的异步方式从api来的吗?
for(let i=1;i<=300; i++) {
fetch(`example.api/incomes/${i}`) // should be returned 300 times
.then(response => {
if(response.ok) return response.json();
throw