title: Testing Javascript async await not waiting
body: <p>Why is it not waiting?</p>
  <pre><code>const wrapper = async () =&gt; {
    console.log('start');
    await setTimeout(async () =&gt; console.log('callback'),5000)
    console.log('end');
  }
  
  wrapper();
  </code></pre>
  <p>Result:</p>
  <pre><code>start
  end
  callback
  </code></pre>
  <p>Expected result:</p>
  <pre><code>start
  callback
  end
  </code></pre>