title: What is an efficient way to divide an array by a value?
body: <p>Just wondering, what is the most efficient way to divide an array by a scalar? I can clearly loop over it, but efficiency is paramount in my case.</p>
  <p><strong>Common trivial way:</strong></p>
  <pre><code>var array_2 = []
  var array_1 = [original_data
  var divisor = my_scalar
  for(var i = 0, length = array.length; i &lt; length; i++){
              array_2.push(array[i]/divisor)
           }
  </code></pre>
  <p>Any trick I can use (or a new approach altogether)?</p>