aria-labelledby="toc_map">
<p>You can easily transform each item in an enumerable using the
<a href="https://api.emberjs.com/classes/Ember.Enumerable.html#method_map"><code>map()</code></a> method, which creates a new array with results of calling a
function on each item in the enumerable.</p>
<pre class="language-javascript line-numbers"><code class="javascript language-javascript"><span class="token keyword">var</span> words <span class="token operator">=</span> <span class="token punctuation">[</span><sp