title: obj[arr[i]] not equal to arr[i]
body: <p>I'm trying to store some settings in an object. The problem however is that <code>obj[arr[i]]</code> is not the same value as <code>arr[i]</code></p>
  <pre><code>for (var i = 0; i &lt; players.length; i++) {
          if (players[i].volume &lt; 1) players[i].volume = (Math.round((players[i].volume + 0.1) * 10) / 10); // JS math error fix
          settings[players[i]] = settings[players[i]] || players[i];
          settings[players[i]].volume = players[i].volume;
          console.log(settings[players[i]].id + &quot; &quot; + players[i].id + &quot; &quot; + players[i].volume);
      }
  </code></pre>
  <p><code>console.log</code> will return this: &quot;music music 0&quot; which is fine, but next it will return:
  &quot;music speech 0&quot; while I expected it to return &quot;speech speech 0&quot;</p>
  <p>Can anyone tell me what I'm doing wrong?</p>
  <h1><a href="http://jsfiddle.net/23yJS/3/" rel="nofollow noreferrer">Fiddle</a></h1>