title: Factorialize a Number
body: <p>I'm taking the freecodecamp course one of the exercises it's to create a <code>Factorialize</code> function, I know there is several ways to do it just not sure what this one keeps returning <strong>5</strong></p>
  
  <pre><code>function factorialize(num) {
      var myMax = num;
      var myCounter = 1;
      var myTotal = 0;
  
      for (i = 0; i&gt;= myMax; i++) {
          num = myCounter * (myCounter + 1);
          myCounter++;
      }
      return num;
  }
  
  factorialize(5);
  </code></pre>