🔰iterable iterator
JS⟩ iteration ⟩ iterator ⟩ iterable iterator
an iterator that is itself iterable. (an iterator can easily be iterable by simply returning itself in its "make-iterator" method)
iterable iterators:
str.matchAll() - iterable iterator of all matches.
s returned by generator function.
s are iterable iterators.
examples:
words in sentence - str.matchAll() returns an iterable iterator.
💾 replit:iterable iterator
Last updated
Was this helpful?