with the error as its reason. If <code>onRejected</code> is <code>null</code>, it&#39;s ignored</td>
</tr>
<tr>
<td><strong>returns</strong></td>
<td><code>Promise</code></td>
<td></td>
<td>A promise whose value depends on the status of the current promise</td>
</tr>
</tbody>
</table>
<p><a href="signatures.html">How to read signatures</a></p>
<hr>
<h3 id="how-it-works"><a href="#how-it-works">How it works</a></h3>
<p>A Promise is an object that represents a value which may be available in the future</p>
<p