Subscribe to Evented Mind to watch the full video.

Already have an Evented Mind subscription?

Subscribe to Evented Mind to watch the full video.

Need a second look? Watch again

ES2015

Iterators

Your objects can now participate in JavaScript iteration. For example, you could use a for of loop with a custom object! Learn how to define an iterator method on your object that returns an iterator. The iterator works alongside the iterator protocol to let the JavaScript runtime work with our iterable objects.

  • JavaScript
Join the Discussion

Want to leave a comment? .