---
title: "Discussion on \"How to flatten array using Javascript\" | Hashnode"
description: "Discussion on \"How to flatten array using Javascript\". Problem\nSo you have some nested array but need to flattened it so you use it inside your codebase. There are actually a couple of ways to do it.\nHere is what we are gonna take a look at;\n\nArray.prototype.flat()\nReduce and Concat Solution\nRecursive So..."
url: "https://hashnode.com/posts/how-to-flatten-array-using-javascript/61374f6b8b7ef1704839e64a"
---

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

Discussion

# [How to flatten array using Javascript](https://blog.furkanozbek.com/how-to-flatten-array-using-javascript?utm_source=hashnode&utm_medium=feed)

Problem So you have some nested array but need to flattened it so you use it inside your codebase. There are actually a couple of ways to do it. Here is what we are gonna take a look at; Array.prototype.flat() Reduce and Concat Solution Recursive So...

Sep 7, 2021 · 2 min read · blog.furkanozbek.com  
Read the article

## Written by

[Abdullah Furkan Özbek](https://hashnode.com/@afozbek)

@afozbek · Istanbul

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

Frontend Developer

Furkan is a software engineer and frontend developer, whose main purpose is to create best optimal experience for user but also keeping the application or project as performant as possible. He is deeply interested on web technologies and he is building new projects in this subject. He is especially familiar with React, Vue, Node and Java. You can check out what he built on his GitHub account. There is potential ways to connect with him at the end of this summary 👇 Things he like to do; ✔ Trying to solve other people's struggles ✔ Teaching or telling some subject he know to friends or colleagues ✔ Building different kinds of projects ✔ Meeting &amp; talking with new people ✔ Listening podcasts ✔ Playing Chess ✔ Watching drama | sci-fi movies ✔ Listening music while I travelling or trying to fix problems ✔ Researching next generation technologies like cyptocurrency, IoT, smart devices If you want to reach out with him, here is how you can do it; 🔼 Blog: https://blog.furkanozbek.com/ 🔼 GitHub: https://github.com/afozbek 🔼 Mail: abdullah.furkan.ozbek@gmail.com 🔼 Twitter: https://twitter.com/afozbek\_ 🔼 Instagram: https://instagram.com/furkan.codes/ Thanks for reading ✨

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
