title: For what 0 between comma and bracket is used for?
body: <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>const sumOfCubes = array =&gt; {
      return array.reduce(function(sum,value){
          return sum + Math.pow(value, 3);
      },0) // this line
  }
  
  console.log(sumOfCubes([1, 5, 9]));</code></pre>
  </div>
  </div>
  </p>
  <p>Hello, i have a question. I needed to create a function that takes in an array of numbers and returns the sum of its cubes. I used it.</p>