Create Your First Generator in JavaScript

John Lindquist
InstructorJohn Lindquist

Share this video with your friends

Send Tweet

With a solid understanding of iterators, seeing the benefits of using generators becomes much more obvious. Generators allow us to write iterators with a much more concise syntax and give us more flexibility with each iteration.

JL decentraliser
JL decentraliser
~ a year ago

createReverseIterator is not used by the function in this example