Is there a way to add the same item val="4" to each object of array in JavaScript?
<p>Is there a way to add the same item val="4" to each object of array in JavaScript?</p>

<p>Let's say there is </p>

<pre><code>var arr = [{"num":"111"},{"ttt":"123","rss":"456"},...];
</code></pre>

<p>I'd like to get</p>

<pre><code>arr2 = [{"num":"111", "val":"4"},{"ttt":"123", "rss":"456", "val":"4"},...];
</code></pre>

<p>Is it possible to make in one line with kind of <code>.push()</code> to array or something similar?</p>