title: Loop through an array of objects and add only the value to another array. Knockout
body: <p>friends. I have the following issue. I have two observable arrays.</p>
  
  <pre><code>self.NamesArray= ko.observableArray([{"name: John"}, {"name: Mario"}]);
  </code></pre>
  
  <p>and </p>
  
  <pre><code> self.ValueArray = ko.observable([]);
  </code></pre>
  
  <p>I would like to loop through the NamesArray and add only the name values to the ValueArray.</p>
  
  <p>So the output ValueArray should contain the following elements in the end:</p>
  
  <pre><code>{John, Mario}
  </code></pre>
  
  <p>How can this happen? I am very new to JS and I am just researching the Knockout library. Any help with working example will be greatly appreciated. Thanks.</p>
  
  <p>Fiddle: <a href="http://jsfiddle.net/PsyComa/RfWVP/" rel="nofollow">http://jsfiddle.net/PsyComa/RfWVP/</a></p>