4
Answers

How can i merge multiple object in single object?

Navjot Angra

Navjot Angra

4y
572
1
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
Answers (4)