DEV Community

loading...

Discussion on: An Introduction to JavaScript Generators

Collapse
kallaugher profile image
Alice Kallaugher Author

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.