(value)
| 4577 | return this.then(resolve, reject); |
| 4578 | |
| 4579 | function resolve(value) { |
| 4580 | function yes () { |
| 4581 | return value; |
| 4582 | } |
| 4583 | return p.resolve(callback()).then(yes); |
| 4584 | } |
| 4585 | function reject(reason) { |
| 4586 | function no () { |
| 4587 | throw reason; |
no outgoing calls
no test coverage detected