Loop through associative array in reverse
<p>I'm using a javascript associative array (arr) and am using this method to loop through it.</p>

<pre><code>for(var i in arr) {
    var value = arr[i];
    alert(i =") "+ value);
}
</code></pre>

<p>The problem is that the order of the items is important to me, and it needs to loop through from last to first, rather than first to last as it currently does.</p>

<p>Is there a way to do this?</p>
