title: Can't catch error thrown in promise using promises 'catch'
body: <p>I have this code.</p>
  
  <pre><code>new Promise(() =&gt; {
    setTimeout(() =&gt; { throw new Error('ERROR') }, 1000);
  }).catch(err =&gt; {
    console.log('CATCHED ', err);
  });
  </code></pre>
  
  <p>And it does not catch error, thrown in setTimeout. 
  Why?</p>