Appending to an object literal
<p>I pass an object literal to a function like this:</p>

<pre><code>pre( {model:'MUserTry'} ); 
</code></pre>

<p>I then wish to augment it, but I end up writing over it like this.</p>

<pre><code>    pre : function( o_p ) {
        o_p = {
            result: '0',
            page  : {}
        };
</code></pre>

<p>model is now gone as o_p is completely new</p>

<p>What is the best way to append object properties. </p>

<p>Do you have to explicitly define them now.</p>

<pre><code>o_p.result = 0;
o_p.page = {};
</code></pre>

<p>or is there a function that will allow me to write out the object literal and combine them?</p>

<p>kind of like this</p>

<pre><code>object1.push (object2 );
</code></pre>
