Generators Generator functions are a special kind of iterator that can be declared using the function* generator () {} syntax Generator functions use yield to emit an element sequence Generator functions can also use yield* to delegate to another generator function -- or any iterable object Genera...