title: how to add array into array's and as its property
body: <p>Add second and third array as main's array properties</p>
  
  <p><a href="http://jsfiddle.net/eRj9V/" rel="nofollow">http://jsfiddle.net/eRj9V/</a></p>
  
  <pre><code>var main = [{
      'id': 1,
      //'second':[
      //     {'something':'here'},
      //{'something':'here 2'}
      // ],
  
      /*'thrid' : [
      {'something':'here too '},
      {'something':'here too 2'}
  ]
  */
  }]
  
  var second[{
      'something': 'here'
  }, {
      'something': 'here 2'
  }]
  
  var thrid[{
      'something': 'here too '
  }, {
      'something': 'here too 2'
  }]
  </code></pre>
  
  <p>One more question, I'm building single page application, should I do this at the back or front end better? </p>