i have 1 javascript array. i wanted to merge this array based on the dates and get each of the price and put in the field. However the price im only getting is 1. the other