Incrementing through object properties?
<p>Is it possible to increment ( not loop ) through object properties.  I know that objects don't guarantee ordering but I want to increment through them any ways.</p>

<p>For example, for an array one can do:</p>

<pre><code>arr[index++];
</code></pre>

<p>But this does not work for an object:</p>

<pre><code>obj[key++];
</code></pre>

<p>as I do not think the ++ operator is defined for use on keys.</p>

<p>I don't want to have to build a complex object structure that stores indexes with keys.  I want to do it natively.</p>

<p>I am well aware of the for-in structure but I want to increment as needed, not loop.</p>
