(reason)
| 4583 | return p.resolve(callback()).then(yes); |
| 4584 | } |
| 4585 | function reject(reason) { |
| 4586 | function no () { |
| 4587 | throw reason; |
| 4588 | } |
| 4589 | return p.resolve(callback()).then(no); |
| 4590 | } |
| 4591 | }; |
| 4592 | Promise.prototype["catch"] = function (onRejected) { |
| 4593 | return this.then(null, onRejected); |
no outgoing calls
no test coverage detected