title: My for in loop output fork fails
body: <p>I'm looking at this "for in" tutorial and I don't understand why I can't get the loop to write the aProperty value instead of just its name.
  <a href="http://www.tutorialspoint.com/cgi-bi...=javascript_15" rel="nofollow">http://www.tutorialspoint.com/cgi-bi...=javascript_15</a></p>
  
  <p>I've tried:
  document.write(navigator.aProperty);
  document.write(navigator + . + aProperty);
  And various other forms, all have failed.</p>
  
  <p>If I just code
  document.write(navigator.onLine); 
  Why can't I make the var, "aProperty" work as a document.write parameter?</p>
  
  <p>Thanks!
      
      </p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  &lt;!--
  var aProperty;
  document.write("Navigator Object Properties&lt;br /&gt; ");
  for (aProperty in navigator)
   {
  document.write(aProperty);
  document.write("&lt;br /&gt;");
  }
  document.write("Exiting from the loop!");
  
  //--&gt;
  &lt;/script&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>