# Reset an array in a function node

**URL:** <https://discourse.nodered.org/t/reset-an-array-in-a-function-node/68952>\
**Category:** General\
**Created:** [12 October 2022 22:07 UTC](https://discourse.nodered.org/t/reset-an-array-in-a-function-node/68952 "2022-10-12T22:07:16Z")\
**Posts on this page:** 1\
**Showing post:** 7

<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:** [13 October 2022 06:34 UTC](https://discourse.nodered.org/t/reset-an-array-in-a-function-node/68952/7 "2022-10-13T06:34:10Z")

</div>

In order to make code readable and usable it is necessary to surround your code with three backticks (also known as a left quote or backquote `````)

````auto
``` 
   code goes here 
```

````

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/reset-an-array-in-a-function-node/68952)._
