News for hackers. Stuff that matters.
Re:What does `return function *(){…}` mean in JavaScript? by k__ on Thursday November 07, 2013 @08:57AM (#6689278)
Is there any promise-less guide, that helps to grasp the concept of function* and yield in JS?
Re:What does `return function *(){…}` mean in JavaScript? by masklinn on Thursday November 07, 2013 @11:36AM (#6690348)
Any generator guide for Python will work, the syntax is slightly different (no function/def, the generator is "created" by the presence of a `yield` keyword in the body, and `yield*` is called `yield from`)
Re:What does `return function *(){…}` mean in JavaScript? by k__ on Friday November 08, 2013 @09:59AM (#6696379)
The easiest thing to do is probably playing around with it :)
Re:What does `return function *(){…}` mean in JavaScript? by Touche on Thursday November 07, 2013 @09:14AM (#6689374)
Not an article, but this is a good library that uses generator functions without promises:

https://github.com/visionmedia/co