Setting multiple variables of an object at the same time
<p>Is there a way to set multiple variables of an object at the same time. For example I have the following code:</p>

<pre><code>_p.a=1; 
_p.b=2;
_p.c=3;
</code></pre>

<p>What I would like to do is something like the following:</p>

<pre><code>_p.[{'a': 1, 'b': 2, 'c': 3}];  // this code does not do the trick
</code></pre>

<p>Is there a way to do something like that?</p>
