(valueOrReason, array)
| 8360 | }; |
| 8361 | |
| 8362 | function completed(valueOrReason, array) { |
| 8363 | if (this.isFulfilled()) { |
| 8364 | array._resolve(valueOrReason); |
| 8365 | } else { |
| 8366 | array._reject(valueOrReason); |
| 8367 | } |
| 8368 | } |
| 8369 | |
| 8370 | function reduce(promises, fn, initialValue, _each) { |
| 8371 | if (typeof fn !== "function") { |
nothing calls this directly
no outgoing calls
no test coverage detected