The old methods on Array will eagerly evaluate all elements. But JS has a new Iterator type with methods that works lazily instead.
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
The old methods on Array will eagerly evaluate all elements. But JS has a new Iterator type with methods that works lazily instead.