title: How do I assign property values for objects in one array based on key/value pairs in another?
body: <p>I have an array that looks like this:</p>
  
  <p><code>var fields = [{Name: 'FirstName', Value: '', Display: 'First Name'}, {...}]</code></p>
  
  <p>I have another array that looks like this:</p>
  
  <p><code>var nameValue = [{'FirstName':'John'}, {'LastName':'Doe'}, ...]</code></p>
  
  <p>How do I assign the Value property for each field in the first array using the name/value pairs in the second array?</p>
  
  <p>Desired result:</p>
  
  <p><code>fields = [{Name: 'FirstName', Value: 'John', Display: 'First Name'}, {...}]</code></p>