# How to combine 2 arrays into 1?

**URL:** <https://discourse.nodered.org/t/how-to-combine-2-arrays-into-1/41414>\
**Category:** General\
**Created:** [22 February 2021 11:08 UTC](https://discourse.nodered.org/t/how-to-combine-2-arrays-into-1/41414 "2021-02-22T11:08:05Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [24 February 2021 10:16 UTC](https://discourse.nodered.org/t/how-to-combine-2-arrays-into-1/41414/12 "2021-02-24T10:16:38Z")

</div>

Hi, in order to make code more readable and importable it is important to surround your code with three backticks  
`````  
`like this`  
`````

You can edit and correct your post by clicking the pencil icon.

See this post for more details - [How to share code or flow json](https://discourse.nodered.org/t/how-to-share-code-or-flow-json/506)

---

_[View the full topic](https://discourse.nodered.org/t/how-to-combine-2-arrays-into-1/41414)._
