Add Array to Array of Objects with new key / value to existing Array of Objects in JavaScript
I want to take an existing array and add it to the existing array of Objects. I want to add a new key with values from reasons. Please help. Array: const reasons = ['a', 'b', 'c']; Object of arrays that…