how to update key value?

Hi there - I am trying to make an array of objects but want to update values if they are reoccuring in a for loop.

How can I update the value for a key in an object array? Here is what I have so far....

6 replies