3 ms·
I just wish JavaScript map was more powerful. I like that underscore's map provides a bit more information passed to the mapped function. It would also be nice
by malandrew 13y ago
I just wish JavaScript map was more powerful. I like that underscore's map provides a bit more information passed to the mapped function. It would also be nice if there was an object map function built into the language as well. Again underscore has a solution but the core prototypical functions lack here.
It would be awesome if many of the solutions in underscore and other high quality functional libraries could be added to the native prototypes.