# Bug updating global arrays

**URL:** <https://discourse.nodered.org/t/bug-updating-global-arrays/2403>\
**Category:** General\
**Created:** [19 August 2018 16:08 UTC](https://discourse.nodered.org/t/bug-updating-global-arrays/2403 "2018-08-19T16:08:54Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Andrei](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/andrei/32/10446_2.png) [@Andrei](https://discourse.nodered.org/u/Andrei)\
**Post date:** [19 August 2018 18:30 UTC](https://discourse.nodered.org/t/bug-updating-global-arrays/2403/5 "2018-08-19T18:30:17Z")

</div>

For those who want to understand better what it means passing by reference and the shalow copy solution from this post here is a good video: [https://www.youtube.com/watch?v=duyshh9Fs1U](https://www.youtube.com/watch?v=duyshh9Fs1U)

---

_[View the full topic](https://discourse.nodered.org/t/bug-updating-global-arrays/2403)._
