I have two object arrays:
let arr1 = [{id: 100, quantity: 2, grp: 1A},{...},{...}, ...],
let arr2 = [{id: 100, color: "#000"},{...},{...}, ...],
arr2 contains objects with the id and color for every object from arr1.
My question is: How can I loop through both object arrays and add the color property of arr2 to the according object in arr1?