I have two array:

var obj1 = [{ "a" : "1", "b" : "2" }, { "a" : "3", "b" : "4" }];

var obj2 = [{ "c" : "5", "d" : "6" }, { "c" : "7", "d" : "8" }];

I want final output as:

objFinal: [{ "a" : "1", "b" : "2", "c" : "5", "d" : "6" }, { "a" : "3", "b" : "4", "c" : "7", "d" : "8" }];

I am working on angular 5 with TS