Use Generators, Promises & recursion to write synchronous like asynchronous code!
In JavaScript, functions execute until they've reached a return keyword or the end of the function. If we execute our logger here and run it with Node, you will see that it first logs start, and it then logs end. EA6 generators are different. They ca...
lucasacosta.hashnode.dev4 min read