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