(values)
| 2512 | } |
| 2513 | |
| 2514 | function PromiseArray(values) { |
| 2515 | var promise = this._promise = new Promise(INTERNAL); |
| 2516 | var parent; |
| 2517 | if (values instanceof Promise) { |
| 2518 | parent = values; |
| 2519 | promise._propagateFrom(parent, 1 | 4); |
| 2520 | } |
| 2521 | this._values = values; |
| 2522 | this._length = 0; |
| 2523 | this._totalResolved = 0; |
| 2524 | this._init(undefined, -2); |
| 2525 | } |
| 2526 | PromiseArray.prototype.length = function () { |
| 2527 | return this._length; |
| 2528 | }; |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…