title: Renaming keys in javascript array
body: <p>Lets say i want to change the key "c3" to a variable x = "b2" and keep the value of the key itself, so it should look like this: "b2": "example3".</p>
  
  <pre><code>var x = {
                  "a1": "example1",
                  "b2": "example2",
                  "c3": "example3"
          };
  </code></pre>
  
  <p>Also, are there "better" types of arrays, that would go through all keys in this array just fine with 
  a </p>
  
  <p>for ( var a in x ) loop?</p>