I am trying to combine two arrays in the following way.
var x = [{'d1':'3'}, {{'d2':'4'}}, {{'d3':'5'}}]
var y = [{'c1':'3'}, {{'c2':'4'}}, {{'c3':'5'}}]
my result should look like this
z = [
{'d1':'3', 'c1':'3' },
{'d1':'4', 'c1':'4' },
{'d1':'5', 'c1':'5' },
]