# Does the context.global.set affect array somehow?

**URL:** <https://discourse.nodered.org/t/does-the-context-global-set-affect-array-somehow/8514>\
**Category:** General\
**Created:** [1 March 2019 19:20 UTC](https://discourse.nodered.org/t/does-the-context-global-set-affect-array-somehow/8514 "2019-03-01T19:20:05Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![Petr](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/petr/32/6413_2.png) [@Petr](https://discourse.nodered.org/u/Petr)\
**Post date:** [3 March 2019 11:46 UTC](https://discourse.nodered.org/t/does-the-context-global-set-affect-array-somehow/8514/9 "2019-03-03T11:46:53Z")

</div>

Correct me if I’m wrong, but I am doing the same in my code.

```auto
 <tbody>
 <tr ng-repeat="row in msg.payload">
 <td ng-repeat="item in row track by $index" >{{item}}</td>
 </tr>
 </tbody>

```

And this is the same approach [as you do in your post here](https://discourse.nodered.org/t/how-set-the-output-variable-msg-payload-in-js/657/22?u=petr)

---

_[View the full topic](https://discourse.nodered.org/t/does-the-context-global-set-affect-array-somehow/8514)._
