title: Backbone - iterating over objects in an array attribute
body: <p>I have a model with two arrays, bright and normal. Each array includes objects which are representing colors. I want to implement in model a method allowing to set some properties (for example hue) of this colors. So I wrote this:</p>
  
  <pre><code>setHue: function(hue) {
      _.each([this.get('brigth'), this.get('normal')], function(colors) {
          _.each(colors, function(color) {
              color.setHue(hue + this.getHue());
          });
      });
  },
  </code></pre>
  
  <p>I think it's clear - I try to iterate over every color in both <code>bright</code> and <code>normal</code> arrays. And it doesn't update colors inside these arrays. This color inside <code>_.each</code> seems to have a new value, but it looks it's only a copy of color, not a reference. Do anyone know how to do what I want? I mean with <code>_.each</code> loop, I don't wanna mess up with <code>for</code>, <code>length</code> and indexes. </p>