title: Compare Array of Objects with Object in ES6
body: <p>so basically I want to compare the object of array with another object and change its value. The data is fully dynamic so I can't use static keys.
  here is my data</p>
  <p><a href="https://i.stack.imgur.com/lRd7v.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lRd7v.png" alt="enter image description here" /></a></p>
  <p>this new DATA is the one I want to add in the invoiceDATA</p>
  <p><a href="https://i.stack.imgur.com/eGvMO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eGvMO.png" alt="enter image description here" /></a></p>
  <p>but the problem is that DOCDT is not static it can be dynamic so I cannot use static key name.</p>
  <p>Thank you!!</p>