01Chapter 1: Why JavaScript Has Iteration ProtocolsThis chapter assumes you know functions and arrow functions, objects and methods, the basics of arrays, Map, and Set, and spread syntax and destructuring.1 min read
02Chapter 2: Building a Custom Iterable by HandThis chapter assumes you know the iterable and iterator protocols: Symbol.iterator returns an object whose next() produces { value, done }. It also assumes you are comfortable with classes and closures.1 min read