• nous
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    2 months ago

    The old methods on Array will eagerly evaluate all elements. But JS has a new Iterator type with methods that works lazily instead.