I'd like to extend each object in the array of objects below with an array of value* as seen below:
array = [object, object, object]
object = {key: array2, key2: value, key3: value}
array2 = [object2, object2]
object2 = {key: object3, key2: child, key3: object4}
object4 = {key: value, key2: value, key3: value*}
How do I write an underscore operation to extend the objects in the original array to include an array of value* as illustrated above?