title: How to remove second square brackets from an array using JavaScript?
body: <p>I have an array something like this:</p>
  <pre><code>data: [
    [
      {}, {} ... //multiple objects
    ]
  ]
  </code></pre>
  <p>How do I remove those second square brackets? I want it to be changed from <code>[[{}]]</code> to <code>[{}]</code>.</p>