DEV Community

loading...

Discussion on: 3 use cases for ES6 generators

Collapse
crongm profile image
Carlos Garcia ★

yield* delegates to the generator that follows up the declaration, so that the next value that is provided comes from the nested generator instead of the main/outer one.