How to merge array of objects present in an array and remove duplicates?
I have an array which consists of another array of objects with key value pairs. I want to merge and segregate these array of objects based on key which is common in every object. There can be n number of array of objects. array1 = [ [ { Time: 45, Element: ‘Hi’}, { Time: 55,… Read More How to merge array of objects present in an array and remove duplicates?