Navjot Angra

Navjot Angra

  • NA
  • 489
  • 250.5k

How can i merge multiple object in single object?

Aug 7 2020 11:26 AM
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)