title: Iterating a knockout observable array in javascript
body: <p>How Do I iterate an knockout observable array bound to data with knockout js mapping plugin ?. I have created <a href="http://jsfiddle.net/shen747/CUJNe/">this</a> fiddle to demonstrate my issue. When I try to get the value of the knockout js array object it returns a function instead.</p>
  
  <p>Could anyone please help me out in this matter ?. My Code is as shown below.</p>
  
  <pre><code>//Sample JSON Array
  var data =
  [{"street":"2532 Falkark Dr", "lat":"39.926295", "lng":"-86.012919",   "zipcode":"92256"},{"street":"8558 Appleby Ln", "lat":"39.922742", "lng":"-86.017637", "zipcode":"92256"}]
  
  function ViewModel() {
  var self = this;
  self.addresses = ko.observableArray([]); 
  ko.mapping.fromJS(data, {}, self.addresses);
  
  }
  var viewModel = new ViewModel();
  
  //function binding work order details to view
  $(document).ready(function () {
    ko.applyBindings(viewModel);
    gothroughtheObservableArray(viewModel.addresses());
  });
  
  
  function gothroughtheObservableArray(Addressarray)
  {
   alert("Got Address Array of length "+Addressarray.length);    
  
  for (var i = 0, len = Addressarray.length; i &lt; len; ++i) {
      var address = Addressarray[i];
      alert(address.street);
  }
  
  }
  </code></pre>