i have this object called defined in my code as rates.rates:
{ AUD="1.4553", BGN="1.9558", BRL="3.5256"}
and i have the following $.each loop:
$.each( rates.rates, function( index, value ){
console.log(index);
});
I've been trying without success to also console.log the next or the previous index (if they exist of course). Any help is really appreciated.
key: value, notkey=value