(i)
| 59 | } |
| 60 | |
| 61 | function resolver(i) { |
| 62 | return function (x) { |
| 63 | result[i] = x; |
| 64 | count += 1; |
| 65 | |
| 66 | if (count === iterable.length) { |
| 67 | resolve(result); |
| 68 | } |
| 69 | }; |
| 70 | } |
| 71 | |
| 72 | for (var i = 0; i < iterable.length; i += 1) { |
| 73 | Promise$2.resolve(iterable[i]).then(resolver(i), reject); |