title: How can I make an array of arrays of custom objects in Javascript?
body: <p>So, I have a friendly neighborhood object constructor, like so;</p>
  
  <pre><code>function Clip(a, b)
  {
      this.track = a
      this.slot = b
      this.path = "live_set tracks " + a + " clip_slots " + b + " clip "
      clip = new LiveAPI(this.patcher, this.path)
      this.length = clip.get("length")
  }
  </code></pre>
  
  <p>What I'd like to do is </p>
  
  <ol>
  <li>Add an an arbitrary number of them to an array</li>
  <li>When the length of the array hits 8, add that array to a new "super"array and start a new array. </li>
  </ol>
  
  <p>In other words, the superarray should allow me to access the objects' properties and methods by, for instance, <code>clip[0][0].length - clip[0][7].length</code>, <code>clip[1][0].length - clip[1][7].length</code>, etc.</p>