DEV Community

Discussion on: 💡🎁 JavaScript Visualized: Generators and Iterators

Collapse
 
gigamegs profile image
Gigamegs

Why not using break?

Collapse
 
hellovietduc profile image
Duc Nguyen

I have the same question. Still in the stage of "oh gosh no I've read so many blog posts about generator functions and I still don't get them"!