Course lesson

Delegate JavaScript (ES6) generator iteration control

We can execute generators from generators, and delegate the iteration control with the yield keyword. Yo dawg, I heard you like generators, so I put generators inside your generators.

Duration
2 min
Access
Pro
Transcript
Available

We can execute generators from generators, and delegate the iteration control with the yield* keyword.

Yo dawg, I heard you like generators, so I put generators inside your generators.