title: Multiply by number all ellements of an array with forEach in JavaScript
body: <p>I have an array of numbers:</p>
  
  <pre><code>var array = [ 23, 67, 120, 170, 200, 212, 350 ];
  </code></pre>
  
  <p>and I want to scale down by 20% each of the element of the array.</p>
  
  <p>I used <code>array.forEach(function(item) {item * 0.8;});</code>, but it did nothing. I tried also <code>var scaledArray = array.forEach(function(item) {item * 0.8;});</code>, but the result was undefined.</p>