Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Updates of Iterator helpers proposal #1152

Merged
merged 5 commits into from
Dec 10, 2022
Merged

Updates of Iterator helpers proposal #1152

merged 5 commits into from
Dec 10, 2022

Conversation

zloirock
Copy link
Owner

@zloirock zloirock commented Dec 1, 2022

  • Iterator Helpers proposal:
    • Built-ins:
      • Iterator
        • Iterator.from
        • Iterator#drop
        • Iterator#every
        • Iterator#filter
        • Iterator#find
        • Iterator#flatMap
        • Iterator#forEach
        • Iterator#map
        • Iterator#reduce
        • Iterator#some
        • Iterator#take
        • Iterator#toArray
        • Iterator#toAsync
        • Iterator#@@toStringTag
      • AsyncIterator
        • AsyncIterator.from
        • AsyncIterator#drop
        • AsyncIterator#every
        • AsyncIterator#filter
        • AsyncIterator#find
        • AsyncIterator#flatMap
        • AsyncIterator#forEach
        • AsyncIterator#map
        • AsyncIterator#reduce
        • AsyncIterator#some
        • AsyncIterator#take
        • AsyncIterator#toArray
        • AsyncIterator#@@toStringTag
    • Moved to Stage 3, November TC39 meeting
    • Added /actual/ entries, unconditional forced replacement disabled for features that survived to Stage 3
    • .from accept strings, .flatMap throws on strings returned from the callback, proposal-iterator-helpers/244, proposal-iterator-helpers/250
    • .from and .flatMap throws on non-object iterators, proposal-iterator-helpers/253

сс @michaelficarra

@zloirock zloirock force-pushed the iter-helpers branch 3 times, most recently from 12053af to 1704b9e Compare December 9, 2022 01:36
@zloirock zloirock merged commit 7dea5bf into master Dec 10, 2022
@zloirock zloirock deleted the iter-helpers branch December 10, 2022 05:56
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant