Skip to content

Tag: react-chartjs-2

How do I merge two Javascript Objects into one?

I Have two Array of Objects : salesLabelData – salesAPIData : ] I need to merge these, to eventually get this array (Basically the Datasets have to be merged into one) : Expected Result – I have tried the following and other various permutations/combinations, checked out many answers on this site but none worked: I am missing something, not sure