How can i merge multiple object in single object?
eg:
[0: {Category: "investment-customer-view", Action: "pay term", Label: "25"}
1: {Category: "investment-customer-view", Action: "pay term", Label: "25"}
2: {Category: "investment-customer-view", Action: "policy term", Label: "25"}] into
obj={
Category: "investment-customer-view", Action: "pay term"Label: "25",
Category: "investment-customer-view", Action: "pay term", Label: "25",}
form