title: async/await vs combining generators and promises?
body: <p><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/async_function" rel="nofollow noreferrer">MDN Docs</a></p>
  
  <blockquote>
    <p>The purpose of async/await functions is to simplify the behavior of
    using promises synchronously and to perform some behavior on a group
    of Promises. Just as Promises are similar to structured callbacks,
    async/await is similar to combining generators and promises.</p>
  </blockquote>
  
  <p>I understand basic concepts of async/await, generators and promises. However, I don't fully understand what it means by saying <strong>async/await is similar to combining generators and promises.</strong></p>
  
  <p>So async/await simplify what generators and promises can do together? Any example?</p>