(record, value)
| 212 | return record.pending; |
| 213 | } |
| 214 | function resolvePromise(record, value) { |
| 215 | if (record.pending) { |
| 216 | record.pending = false; |
| 217 | record.resolve(value); |
| 218 | } |
| 219 | } |
| 220 | function rejectPromise(record, reason) { |
| 221 | if (record.pending) { |
| 222 | record.pending = false; |
no test coverage detected