title: Dynamic property name concatenation
body: <p>I'm looking for an easy way to assign to a variable depending on the value of another variable.</p>
  
  <pre><code>device.slot2_clipList[clipNumber] = singleClipDetails;
  </code></pre>
  
  <p>what I'm trying to do is: replace the "2" with another variable, so that i can run the same operation while just changing the
      var slotNumber, and write to the corresponding variable.</p>
  
  <p>i tried</p>
  
  <pre><code>device.slot + device.slotNumber + _clipList[clipNumber]
  </code></pre>
  
  <p>but (obviously?), this doesn't work.</p>
  
  <p>How can this be done? (Maybe I named the Question incorrectly, but that was the closest I could think of.)
  Thanks</p>