---
title: "Discussion on \"Array Flatten in JavaScript\" | Hashnode"
description: "Discussion on \"Array Flatten in JavaScript\". what are nested arrays\na nested array is simply an array inside another array\neg\nlet arr = [1, 2, [3, 4], 5]\n\nwe can go more deep insode of that\nlet arr = [1, [2, [3, [4]]]];\n\nThis is called deeply ne"
url: "https://hashnode.com/posts/array-flatten-in-javascript/69e71ae2c9501dd0108c6afd"
---

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

Discussion

# [Array Flatten in JavaScript](https://dushyantxcode.hashnode.dev/array-flatten-in-javascript?utm_source=hashnode&utm_medium=feed)

what are nested arrays a nested array is simply an array inside another array eg let arr = \[1, 2, \[3, 4\], 5\] we can go more deep insode of that let arr = \[1, \[2, \[3, \[4\]\]\]\]; This is called deeply ne

Apr 21 · 4 min read · dushyantxcode.hashnode.dev  
Read the article

-   [#chaicode](https://hashnode.com/tag/chaicode)
-   [#array-flatten-in-javascript](https://hashnode.com/tag/array-flatten-in-javascript)
-   [#hiteshchaudhary](https://hashnode.com/tag/hiteshchaudhary)

## Written by

[Dushyant Pratap Singh](https://hashnode.com/@dushyantxcode)

@dushyantxcode

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

Documenting My Journey From Beginner to Job Ready Web Developer

CS student focused on backend &amp; OS fundamentals. Building real projects and sharing practical learning.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
