DEV Community

Discussion on: Top 20 JavaScript tips and tricks to increase your Speed and Efficiency

 
erasmuswill profile image
Wilhelm Erasmus

But in this case a helper method that does the full job exists so why bother with reduce for this use case? I admittedly do not use it enough but just saying