Global Context being updated when no global.set executed

Hi @Tilerdon

You are hitting a side effect of how JavaScript passes variables around by reference, rather than value.

This recent post explains it in more detail and how to avoid it: Issues with variables - #2 by TotallyInformation

1 Like