Looking for a way to merge Javascript Object keys inside array, only on matching Ids. Should i use Map? or flatmap? I have
const districtList =[ {id:\'1234b