Map your array to promises and then you can use Promise.all() function: var promises = [obj1, obj2].map(function(obj){ return ...
確定! 回上一頁