Last loop in for()?
<p>I have been struggling with this for a while:</p>

<pre><code>for( var key in obj ){
    blah.blah()
    if(choice){
         doThis();
    }
}
</code></pre>

<p>How can I call <code>doThis()</code> only at the last item? Since I don't have a counter, <code>i</code>, I can't determine which is the last item.</p>
