---
title: "Comment by Ayesha Sahar on \"5 ways to merge arrays in JavaScript and their differences\" | Hashnode"
description: "I mostly use the spread or the concat method only. It&#39;s good to know the differences between these two and the other methods! Thanks for sharing✨"
url: "https://hashnode.com/posts/5-ways-to-merge-arrays-in-javascript-and-their-differences/61696cc318374f257327a7cf/comment/6169c4dd53401f641ba189c4"
---

[Discussion](https://hashnode.com/posts/5-ways-to-merge-arrays-in-javascript-and-their-differences/61696cc318374f257327a7cf)

Comment [5 ways to merge arrays in JavaScript and their differences](https://hashnode.com/posts/5-ways-to-merge-arrays-in-javascript-and-their-differences/61696cc318374f257327a7cf)

[Ayesha Sahar](https://hashnode.com/@IAyeshaSahar)

[Oct 15, 2021](https://hashnode.com/posts/5-ways-to-merge-arrays-in-javascript-and-their-differences/61696cc318374f257327a7cf/comment/6169c4dd53401f641ba189c4)

I mostly use the spread or the concat method only. It's good to know the differences between these two and the other methods!

Thanks for sharing✨

[Tapas Adhikary](https://hashnode.com/@atapas)

[Oct 16, 2021](https://hashnode.com/posts/5-ways-to-merge-arrays-in-javascript-and-their-differences/61696cc318374f257327a7cf/comment/6169c4dd53401f641ba189c4#reply-616a54d953401f641ba18ec0)

[Ayesha Sahar](https://hashnode.com/@AshCh), Thanks a lot. I'm glad it was helpful.

[Saif Uddin](https://hashnode.com/@saifuddin1999)

[Oct 16, 2021](https://hashnode.com/posts/5-ways-to-merge-arrays-in-javascript-and-their-differences/61696cc318374f257327a7cf/comment/6169c4dd53401f641ba189c4#reply-616a788518374f257327b6d7)

I love you Ayesha.🥰
