Merge Array of collection in javascripts

Viewed 16

Have array of collection, which I need to merge as one collection [ { "Score": 38 }, { "Age": 6 } ];

I need to convert this to {"Score": 38,"Age": 6} so that I can process easily.

Please provide the way to process this.

0 Answers
Related