0
How can I change 'duplicate' object properties? (js)
I have an object with this structure: object{ tree1 tree2[{ data1 data2 }, { data1 data2 } ] } And I want to change data 1, but only one if the two. How can I do this?
1 Answer
0
object.tree2[0].data2 = value;