DEV Community

Discussion on: How to convert an array into an object in javascript

Collapse
 
afewminutesofcode profile image
Aaron

Thanks so much for pointing this out Brad! I have used this syntax for one liner map functions but had overlooked using it with reduce before. I am going to make sure I use it in the future, to keep my code more concise.