title: Challenge: multiplyAll
body: <p>Having a bit of trouble with the following task, which logs &quot;1&quot;:</p>
  <p>Create a <strong>function</strong> multiplyAll that takes an unknown number of integer arguments, multiplies them all together, and returns the result.</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>function multiplyAll(arr){
   let product = 1;
  for (let i=0; i&lt;arr.length; i++){
      product = product * arr[i];
  }
    return product;
  }
  
  console.log(multiplyAll(9, 4, 5, 6, 7, 2, 1, 8, 3)) // should log: 362880
  console.log(multiplyAll(5, 5, 5, 3)) // should log: 375</code></pre>
  </div>
  </div>
  </p>