---
title: "Discussion on \"JavaScript Baazi: How to flatten an array in javaScript?\" | Hashnode"
description: "Discussion on \"JavaScript Baazi: How to flatten an array in javaScript?\". Welcome to JavaScript baazi a blog series where we go through common interview questions in JavaScript and understand everything around them.\nHmm... So what is the flattening of an array?\nbasically in flattening we reduce the dimension of an array.ba..."
url: "https://hashnode.com/posts/javascript-baazi-how-to-flatten-an-array-in-javascript/62081ecfa2be760e35396ada"
---

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

Discussion

# [JavaScript Baazi: How to flatten an array in javaScript?](https://blog.gauravtewari.xyz/javascript-baazi-how-to-flatten-an-array-in-javascript?utm_source=hashnode&utm_medium=feed)

Welcome to JavaScript baazi a blog series where we go through common interview questions in JavaScript and understand everything around them. Hmm... So what is the flattening of an array? basically in flattening we reduce the dimension of an array.ba...

Feb 12, 2022 · 3 min read · blog.gauravtewari.xyz  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#array](https://hashnode.com/tag/array)
-   [#interview](https://hashnode.com/tag/interview)
-   [#internships](https://hashnode.com/tag/internships)
-   [#vanilla-js-1](https://hashnode.com/tag/vanilla-js-1)

## Written by

[Gaurav Tewari](https://hashnode.com/@tewarig)

@tewarig · Dehradun ,India

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

frontend engineer @razorpay

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
