title: How to add prefix to array values?
body: <p>I have an array of values to which I want to add some prefix:</p>
  <pre><code>var arr = [&quot;1.jpg&quot;, &quot;2.jpg&quot;, &quot;some.jpg&quot;];
  </code></pre>
  <p>Adding the prefix <code>images/</code> should result in this:</p>
  <pre><code>newArr = [&quot;images/1.jpg&quot;, &quot;images/2.jpg&quot;, &quot;images/some.jpg&quot;];
  </code></pre>