Array Methods in JavaScript
Tiffany White,
for (var i = 0; i < array.length; i++) { var index = array[i]; console.log('Index: ', index); }
array.forEach(function(item, index) { console.log(item); });
var odd = even.map(function(num) { return num + 1; });
<span class="kd">var</span> <span class="nx">jsGreet</span> <span class="o">=</span> <span class="nx">greetArr</span><span class="p">.</span><span class="nx">concat</span><span class="p">(</span><span class="nx">jsArr</span><span class="p">);</span>
<span class="nx">console</span><span class="p">.</span><span class="nx">log</span><span class="p">(</span><span class="nx">jsGreet</span><span class="p">);</span>