Updating multiple array elements at once Javascript
<p>I am trying to update multiple elements at once in a multidimensional array/object and having errors with .push and other options I have tried. </p>

<pre><code> var FEtypes= {
    textTemplate: {
       type :"Text",
       size : 50,
       required : "no",
       FEadd : '&lt;input&gt;', 
       label : 'Label',
       top : 0, 
       left : 0
    }, 
    textareaTemplate: {
       type : "Textarea",
       cols : 30,
       rows : 5,
       FEadd :'&lt;textarea&gt;' 
    }
 }
</code></pre>

<p>This works, but trying to do in one line.</p>

<pre><code> FEtypes[1].left = someVariable1;
 FEtypes[1].top = someVariable2;
</code></pre>

<p>I have been unsuccessful with:</p>

<pre><code> FEtypes[1].push( {left:someVariable1, top:someVariable2} );
</code></pre>

<p>I keep getting an error that this is not a function or it does nothing.</p>
