title: Javascript: dereference array of arrays
body: <p>I have an array like this:</p>
  
  <pre><code>[
     [
        [
           {
              "text":"1"
           }
        ],
     ],
     [
        [
           {
              "text":"2"
           }
        ],
     ]
  ]
  </code></pre>
  
  <p>and I would like to remove the outer array so it looks like this:</p>
  
  <pre><code>[
     [
        {
           "text":"1"
        }
     ],
  ],
  [
     [
        {
           "text":"2"
        }
     ],
  ]
  </code></pre>
  
  <p>I've tried using <code>arr[0]</code> to dereference but that loses the second element!</p>
  
  <pre><code>[
     [
        {
           "text":"1"
        }
     ]
  ]
  </code></pre>
  
  <p>What am I doing wrong?</p>