I have a nested JSON objects that looks like {“name”, “children”: [JSON objects]}. I am trying to add a new child to the object found with a variable path, an array of names. My code doesn’t work in my React Native app, however it does in the Chrome console, which makes me really…
Tag: reference
arrays disappearing in method scope
I am trying to create a class to my javascript game to add multiplayer but within the class i am having problems with the values of arrays changing as you can see in the sendNetEntities() function I think im having problems with variables somehow being references of something instead of instances. But im not …