DEV Community

Discussion on: What was the hardest concept you had to wrap your head around?

Collapse
 
royalfig profile image
Ryan Feigenbaum

The reduce() method! I could understand the simple examples like summing an array of numbers, but it took some time to see how it could transform arrays. Now I use it all the time to transform data. Super useful.