It shouldn't be a problem with strings and numerics in arrays (the array contains copies of the values), but with arrays of functions/objects, the elements of the array are not copies, but the actual objects themselves. So if you change an object in the array, the object itself changes (and vice versa).
Comments
It shouldn't be a problem with strings and numerics in arrays (the array contains copies of the values), but with arrays of functions/objects, the elements of the array are not copies, but the actual objects themselves. So if you change an object in the array, the object itself changes (and vice versa).
Thank you.