Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Align API with the Iterator Helpers Proposal #30

Merged
merged 4 commits into from
Sep 4, 2024

Conversation

nikolaybotev
Copy link
Owner

Background

See https://github.com/tc39/proposal-async-iterator-helpers and https://github.com/tc39/proposal-iterator-helpers

Changes

There are some breaking API changes:

  • reduce throws instead of returning null
  • other methods such as find, first etc return undefined instead of null

@nikolaybotev nikolaybotev merged commit 753fd38 into main Sep 4, 2024
3 checks passed
@nikolaybotev nikolaybotev deleted the nikolay/esnext-align branch September 4, 2024 12:05
@nikolaybotev nikolaybotev restored the nikolay/esnext-align branch September 4, 2024 12:05
@nikolaybotev nikolaybotev deleted the nikolay/esnext-align branch September 4, 2024 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant