Node.js: Response inside a promise
<p>Anybody can me explain why this:</p>

<pre><code>somePromise()
    .then(content =&gt; res.status(200).jsonp(content))
    .catch(err =&gt; res.status(500).send(err));
</code></pre>

<p>Is <strong>not equivalent</strong> to:</p>

<pre><code>somePromise()
    .then(res.status(200).jsonp)
    .catch(res.status(500).send);
</code></pre>

<p>The first code is working well, the second not </p>

<p><em>Thank you!</em></p>