title: How do I reverse the Object in Javascript
body: <p>How do i convert this:</p>
  <pre><code>{one:1,two:2,three:3,four:4}
  </code></pre>
  <p>to this:</p>
  <pre><code>{1:'one',2:'two',3:'tree',4:'four'}
  </code></pre>
  <p>I tried this :</p>
  <pre><code>Array.prototype.reverse.call({1:'one', 2:'two', 3:'tree',4:'four' length:5});
  </code></pre>
  <p>but this reverses the whole thing , which i dont want. Any one has any suggestions?</p>