es-toolkit
es-toolkit copied to clipboard
feat(compat): Add `map` function
#301
This pull request implements the map function, which behaves similarly to the map function in lodash
The map function takes a collection and an iteratee function, applies the iteratee to each element of the collection, and returns a new array with the transformed results.
Below is a benchmark comparing our map function to lodash's map.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| es-toolkit | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Sep 12, 2024 2:43pm |
Thanks for your pull request!
Closing the pull request since a new one was opened :)