... collect the results let promises = xs.map(function(x) { return fn(x) }) return Promise.all(promises) // Return the group promise }.
確定! 回上一頁