---
title: "Comment by Niranjan Borawake on \"Using The .reduce() Method To Find Min and Max Values Of An Array In JavaScript\" | Hashnode"
description: "Hello Olayinka Oshidipe , Nice simplified explanation. Yes, it is important to understand reduce but it is better to avoid using it. There&#39;s a lot of debate"
url: "https://hashnode.com/posts/using-the-reduce-method-to-find-min-and-max-values-of-an-array-in-javascript/60d579e15ed303057acea623/comment/60d590725ed303057acea834"
---

[Discussion](https://hashnode.com/posts/using-the-reduce-method-to-find-min-and-max-values-of-an-array-in-javascript/60d579e15ed303057acea623)

Comment [Using The .reduce() Method To Find Min and Max Values Of An Array In JavaScript](https://hashnode.com/posts/using-the-reduce-method-to-find-min-and-max-values-of-an-array-in-javascript/60d579e15ed303057acea623)

[Niranjan Borawake](https://hashnode.com/@niranjandb)

[Jun 25, 2021](https://hashnode.com/posts/using-the-reduce-method-to-find-min-and-max-values-of-an-array-in-javascript/60d579e15ed303057acea623/comment/60d590725ed303057acea834)

Hello [Olayinka Oshidipe](https://hashnode.com/@yunggenius),

Nice simplified explanation. Yes, it is important to understand `reduce` but 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 -

[twitter.com/jaffathecake/status/12130777023008522…](https://twitter.com/jaffathecake/status/1213077702300852224?s=20)

[Olayinka Oshidipe](https://hashnode.com/@yunggenius)

[Jul 7, 2021](https://hashnode.com/posts/using-the-reduce-method-to-find-min-and-max-values-of-an-array-in-javascript/60d579e15ed303057acea623/comment/60d590725ed303057acea834#reply-60e60d61c32fbd1b7372017d)

never quite heard of this debate before. Will take look at the thread, [Niranjan Borawake](https://hashnode.com/@niranjandb), thank you. :)
