Consider I have an array
let array1 = [{a:1, b:2}, {e:5,f:6}]
let json1 = {c:3, d:4}
I want to append json1 to first item of array1 so the resultant looks like
array1 = [{a:1, b:2, c:3, d:4}, {e:5, f:6}]
I am sure push doesn't work here. I am not sure how to proceed further.