This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Learn the structure of a valid iterator: an object with a next() method that returns {value, done}.
You've completed the free preview. Subscribe to unlock every lesson in every course.