The Basics Of ES6 Generators

added by DotNetKicks
1/26/2015 4:19:14 AM

5 Kicks, 1013 Views

One of the most exciting new features coming in JavaScript ES6 is a new breed of function, called a generator. The name is a little strange, but the behavior may seem a lot stranger at first glance. This article aims to explain the basics of how they work, and build you up to understanding why they are so powerful for the future of JS.


0 comments