title: What's the fastest way to iterate over an object's properties in Javascript?
body: <p>I know that I can iterate over an object's properties like this:</p>
  
  <pre><code>for (property in object)
  {
      // do stuff
  }
  </code></pre>
  
  <p>I also know that the fastest way to iterate over an array in Javascript is to use a decreasing while loop:</p>
  
  <pre><code>var i = myArray.length;
  while (i--)
  {
      // do stuff fast
  }
  </code></pre>
  
  <p>I'm wondering if there is something similar to a decreasing while loop for iterating over an object's properties.</p>
  
  <p><strong>Edit:</strong> just a word about the answers concerned with enumerability - I'm not. </p>