Pawel K
Pawel K
May 4, 2018 · 1 min read

Hey ! great article ! Few remarks here

async/await based on generators — can you point me to the right place in proposal? It does not result from examples in the document, it’s just an evolution path of how to deal with async code. I would say async/await is solely based on Promises — but I can be mistaken 😊

“The generator object is an iterator. So you can use it in for-of loops or other functions accepting an iterable.” — you can do it because generator is an iterator and iterable at the same time 😊

    Pawel K

    Written by

    Pawel K

    knows few things about coding