Using The .reduce() Method To Find Min and Max Values Of An Array In JavaScript
A few days ago I was learning a bit more about the Array Data Type and trying my hands on a few problems to have a better understanding of how things work. And there was a particular problem I was presented with.
For the purpose of this tutorial, I'...
yunggenius.hashnode.dev3 min read
Niranjan Borawake
Problem Solver | Front-end Engineer | Netflix Addict
Hello Olayinka Oshidipe,
Nice simplified explanation. Yes, it is important to understand
reducebut it is better to avoid using it. There's a lot of debate on this. You might be interested in having a look at this thread -