---
title: "Discussion on \"Using The .reduce() Method To Find Min and Max Values Of An Array In JavaScript\" | Hashnode"
description: "Discussion on \"Using The .reduce() Method To Find Min and Max Values Of An Array In JavaScript\". How to find Min and/or Max values in an array using the .reduce() method in JavaScript."
url: "https://hashnode.com/posts/using-the-reduce-method-to-find-min-and-max-values-of-an-array-in-javascript/60d579e15ed303057acea623"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Using The .reduce() Method To Find Min and Max Values Of An Array In JavaScript](https://yunggenius.hashnode.dev/using-the-reduce-method-to-find-min-and-max-values-of-an-array-in-javascript?utm_source=hashnode&utm_medium=feed)

How to find Min and/or Max values in an array using the .reduce() method in JavaScript.

Jun 25, 2021 · 3 min read · yunggenius.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#array](https://hashnode.com/tag/array)
-   [#array-methods](https://hashnode.com/tag/array-methods)

## Written by

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

@yunggenius · Remote

  
[View profile](https://hashnode.com/@yunggenius)

Creative Software Engineer

## Responses 2

Markdown supported · ⌘↵ to post

[Efunniyi Oluwatofunmi](https://hashnode.com/@tofunmai)

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

Hey just here to check out your works and understand what you do as your future EA and it’s truly “orgasmic” 😂.

Don’t know much about tech, but looking forward to grow my knowledge with you

[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. :)
