4 ms·
Generators will be an ES6 feature, and therefore libraries written using generators and yield will run on both the server and in browsers. For many use-cases,
by wycats 13y ago
Generators will be an ES6 feature, and therefore libraries written using generators and yield will run on both the server and in browsers.
For many use-cases, this is a good enough reason to use them.
- olegp 13y agoIn my experience there's very few libraries that would require generators that could run on both the server and in browsers.