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

feat(async): async callback functions in reduce are now called with an additional index parameter #291

Merged

Conversation

UnKnoWn-Consortium
Copy link
Contributor

Description

feat(async): async callback functions in reduce are now called with an additional index parameter
test(async): added test for the new index parameter in reduce

Checklist

  • Changes are covered by tests if behavior has been changed or added
  • Tests have 100% coverage
  • If code changes were made, the version in package.json has been bumped (matching semver)
  • If code changes were made, the yarn build command has been run and to update the cdn directory
  • If code changes were made, the documentation (in the /docs directory) has been updated

Resolves

Resolves #290

… an additional index parameter

test(async): added test for the new index parameter in `reduce`
@vercel
Copy link

vercel bot commented Apr 10, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
radash-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 26, 2023 4:02pm

@sodiray
Copy link
Owner

sodiray commented Jun 26, 2023

Thanks for the PR @UnKnoWn-Consortium 🙏 I'm going to merge, it will go out in v11.0.0 later today

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.

Include the index number for an array item in the async callback function parameter in reduce
2 participants