- iterable objects have @@iterator method or @@iterator property (available via Symbol.iterator), or one of the objects up its prototype chain must have this property - Whenever an object needs to be ...
Make an iterator returning elements from the iterable and saving a copy of each. When the iterable is exhausted, return elements from the saved copy. Repeats indefinitely. Make an iterator that ...