Consider implementing map, for each, and reduce
rstacruz opened this issue · 3 comments
I know it goes against what 101 stands for, but this will be tremendously useful. I'd like to ditch lodash, but I still use it for _.each.
There is no Object.prototype.map (or foreach or reduce). Same with 'arguments'. A generic implementation that accounts for both arrays and objects will be useful for web apps using React (or other react-alikes).
I'm open to help, if you'd welcome a pull request I can work on it!
Quick reply: checkout object-loops
Does that satisfy your needs?
Typed using my thumbs..
On Aug 19, 2016, at 7:38 AM, Rico Sta. Cruz notifications@github.com wrote:
I'm open to help, if you'd welcome a pull request I can work on it!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
Yes, exactly what I'm after!
On Sat, Aug 20, 2016, 5:07 AM Tejesh Mehta notifications@github.com wrote:
Quick reply: checkout object-loops
Does that satisfy your needs?
Typed using my thumbs..
On Aug 19, 2016, at 7:38 AM, Rico Sta. Cruz notifications@github.com
wrote:I'm open to help, if you'd welcome a pull request I can work on it!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#142 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAEikUhDYubRPeCwNrAYp87Zed2ixX0xks5qhhslgaJpZM4JoiSM
.