DEV Community

Discussion on: An Introduction to JavaScript Generators

Collapse
 
kallaugher profile image
Alice Kallaugher

Thanks Katie!

To answer your question: you can't restart a generator once it's done. You would have to call the generator function again.