title: Javascript efficiency: 'for' vs 'forEach'
body: <p>What is the current standard in 2017 in Javascript with for() loops vs a .forEach.</p>
  
  <p>I am currently working my way through Colt Steeles "Web Dev Bootcamp" on Udemy and he favours <code>forEach</code> over <code>for</code> in his teachings. I have, however, searched for various things during the exercises as part of the course work and I find more and more recommendations to use a <code>for</code>-loop rather than <code>forEach</code>. Most people seem to state the for loop is more efficient.</p>
  
  <p>Is this something that has changed since the course was written (circa 2015) or are their really pros and cons for each, which one will learn with more experience.</p>
  
  <p>Any advice would be greatly appreciated.</p>