---
title: "#methods-in-js articles | Hashnode"
description: "Explore 1 articles tagged #methods-in-js on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/methods-in-js"
---

Tag

# #methods-in-js

1 posts · 0 followers

[Ayush Jain](https://hashnode.com/@ayushjjainn) · [Sep 13](https://hashnode.com/posts/flatten-array-in-javascript/6aa666e05b7c41bf0e378b5e)

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

Learn how to flatten nested arrays in JavaScript: use flat() and flat(Infinity), and write your own recursive flatten, a common interview question.

8 min read · [ayushjjainn.hashnode.dev](https://ayushjjainn.hashnode.dev/flatten-array-in-javascript?utm_source=hashnode&utm_medium=feed)
