title: Nested arrays in Mongoose
body: <p>In the collection I'm working on, a document looks like this:</p>
  
  <pre><code>{
      name: 'Myname',
      other: 'other',
      stuff: [
          ['something', 12, 4, 'somethingelse'],
          ['morestuff', 2, 4, 8],
          ['finally', 12, 'again', 58],
  
      ]
  }
  </code></pre>
  
  <p>I wrote this Mongoose schema to access it:</p>
  
  <pre><code>var MyDocSchema = new Schema({
      name: String,
      other: String,
      stuff: [],
  });
  </code></pre>
  
  <p>When I query a doc, everything works well, the output shown in the console is right. But when, I try to do console.log(myDoc.stuff), I got the following:</p>
  
  <pre><code>['something', 12, 4, 'somethingelse', 'morestuff', 2, 4, 8, 'finally', 12, 'again', 58]
  </code></pre>
  
  <p>instead of</p>
  
  <pre><code>[
      ['something', 12, 4, 'somethingelse'],
      ['morestuff', 2, 4, 8],
      ['finally', 12, 'again', 58],
  
  ]
  </code></pre>
  
  <p>What am I doing wrong? Thank you for your help!!</p>