You can do it using the spread operator (ES2015)
let objFinal = [{...obj1[0], ...obj2[0]}, {...obj1[1], ...obj2[1]}];
should work,
5
solved merge array using angular 5
You can do it using the spread operator (ES2015)
let objFinal = [{...obj1[0], ...obj2[0]}, {...obj1[1], ...obj2[1]}];
should work,
5
solved merge array using angular 5