2 ms·
for..of simply desugars into getting an iterator from the iterable and then iterating it, right? To compose iterables, you'd presumably work with iterators dir
by bzbarsky 12y ago
for..of simply desugars into getting an iterator from the iterable and then iterating it, right?
To compose iterables, you'd presumably work with iterators directly instead of the sugar.