using console.log as a promise callback
<p>I found it bit strange that, resolving a promise like this</p>

<pre><code>.then(console.log, console.log)
</code></pre>

<p>doesn't work, but this works</p>

<pre><code> .then(d =&gt; {
     console.log(d);
   }, err =&gt; {
     console.log(err);
   });
</code></pre>

<p>what am I missing</p>