---
title: "Discussion on \"2 Uses of concat() method when working with arrays in JavaScript\" | Hashnode"
description: "Discussion on \"2 Uses of concat() method when working with arrays in JavaScript\". Two uses of concat method when working with arrays in JavaScript. 1) Merge two or more arrays 2) Flatten single level nested arrays."
url: "https://hashnode.com/posts/2-uses-of-concat-method-when-working-with-arrays-in-javascript/60da91ec703d372ea06c9245"
---

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

Discussion

# [2 Uses of concat() method when working with arrays in JavaScript](https://blog.kritikapattalam.com/2-uses-of-concat-method-when-working-with-arrays-in-javascript?utm_source=hashnode&utm_medium=feed)

Two uses of concat method when working with arrays in JavaScript. 1) Merge two or more arrays 2) Flatten single level nested arrays.

Jun 29, 2021 · 2 min read · blog.kritikapattalam.com  
Updated Sep 2, 2021  
Read the article

-   [#web-development](https://hashnode.com/tag/web-development)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#frontend-development](https://hashnode.com/tag/frontend-development)
-   [#es6](https://hashnode.com/tag/es6)

## Written by

[Kritika Pattalam Bharathkumar](https://hashnode.com/@kritika-pattalam)

@kritika-pattalam · New Jersey

  
[View profile](https://hashnode.com/@kritika-pattalam)

Software Developer | Front End Web Development

I am a Front end developer currently working on React JS, HTML, CSS, Python, Vue JS, Webpack, Babel, AEM etc.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
