DEV Community

Discussion on: 💡🎁 JavaScript Visualized: Generators and Iterators

Collapse
 
hcminhit profile image
i love Math

hi, I didn't understand everything you wrote starting from ". It's actually because they implement the iterator protocol: the [Symbol.iterator]. Say that we have the following values (with very descriptive names lol 💁🏼‍♀️) :"