DEV Community

Discussion on: Most Useful JavaScript functions for Web Developers

Collapse
 
perssondennis profile image
Dennis Persson

Great summary, these are really the core functions in js imo. I miss a reduce example though, it is really powerful when restructuring data between objects and arrays.

Unfortunately, it's kinda hard for people to understand reduce function, so I would say it's preferable to wrap the usage of it in a utils functions with a descriptive name.

Collapse
 
suchintan profile image
SUCHINTAN DAS

Yes Dennis, I understand reduce was actually on my list to be covered on this blog. But the reason why I didn't covered it was simply that it would be too much for a beginner to understand the use of reduce function in JavaScript.

So, preferred to skip it on the blog.