Well, I have a problem that is relatively simple, but that is ending with me.
I have an array of JSON objects. This array of objects will compose another array containing other n arrays.
So far so good. However, what happens is that with each iteration I randomize the "value" attribute and place the object in that new array. And when I see, at the end of the iterations, all objects have the same value (the last random).
Can anyone help me?