how can I pass a dataset to an object
<p>I have an object  called arr and I want to add a dataset to it , here is my code so far . </p>

<pre><code>  arr = { date:'222222' } 

  lines = [
      { line1:'line1' , name:'paul' } ,
      { line2:'line2' , name:'john' } ,
      ]

  arr.push( lines ) 
</code></pre>

<p>I want to send arr to handlebars but need the lines adding to arr . </p>

<p>I want to end up with </p>

<pre><code>      arr = { date : '222222' ,
              lines: [   
                { line1:'line1' , name:'paul' } ,
                { line2:'line2' , name:'john' } 
                ],
               more etc: 'more vars' 
             }
</code></pre>

<p>but using push just isn't doing it, can anyone tell me what Iam doing wrong , any help appreciated ! , thanks </p>
