I have two arrays like below.
A = [{fruit: apple, number:4 }, {fruit: pear, number: 3}]
B = [{qual: good}, {qual: bad}]
And My goal is getting an array like below.
C = [{fruit: apple, number:4, qual: good }, {fruit: pear, number: 3, qual: bad}]
The length of A, B is same. I can make this using 'for loop'. But how can I make it using 'some array methods' like 'concat' or 'map'?