<p dir="auto">Challenge <a href="https://www.freecodecamp.com/challenges/factorialize-a-number#?solution=var%20total%20%3D%201%3B%0Afunction%20factorialize%28num%29%20%7B%0A%20%20for%20%28var%20i%3D0%3B%20i%3Cnum%3B%20i%2B%2B%29%7B%0A%20%20%20%20total%20%3D%20total%20*%20%28num%20-%20i%29%3B%0A%20%20%7D%0A%20%20return%20total%3B%0A%7D%0A%0Afactorialize%285%29%3B%0A" rel="nofollow">Factorialize a Number</a> has an issue.<br>
User Agent is: <code class="notranslate">Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36</code>.<br>
Please describe how to reproduce this issue, and include links to screenshots if possible.</p>
<p dir="auto">My code:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="var total = 1;
function factorialize(num) {
  for (var i=0; i&lt;num; i++){
    total = total * (num - i);
  }
  return total;
}

factorialize(5);
"><pre class="notranslate"><span class="pl-k">var</span> <span class="pl-s1">total</span> <span class="pl-c1">=</span> <span class="pl-c1">1</span><span class="pl-kos">;</span>
<span class="pl-k">function</span> <span class="pl-en">factorialize</span><span class="pl-kos">(</span><span class="pl-s1">num</span><span class="pl-kos">)</span> <span class="pl-kos">{</span>
  <span class="pl-k">for</span> <span class="pl-kos">(</span><span class="pl-k">var</span> <span class="pl-s1">i</span><span class="pl-c1">=</span><span class="pl-c1">0</span><span class="pl-kos">;</span> <span class="pl-s1">i</span><span class="pl-c1">&lt;</span><span class="pl-s1">num</span><span class="pl-kos">;</span> <span class="pl-s1">i</span><span class="pl-c1">++</span><span class="pl-kos">)</span><span class="pl-kos">{</span>
    <span class="pl-s1">total</span> <span class="pl-c1">=</span> <span class="pl-s1">total</span> <span class="pl-c1">*</span> <span class="pl-kos">(</span><span class="pl-s1">num</span> <span class="pl-c1">-</span> <span class="pl-s1">i</span><span class="pl-kos">)</span><span class="pl-kos">;</span>
  <span class="pl-kos">}</span>
  <span class="pl-k">return</span> <span class="pl-s1">total</span><span class="pl-kos">;</span>
<span class="pl-kos">}</span>

<span class="pl-en">factorialize</span><span class="pl-kos">(</span><span class="pl-c1">5</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/waypoint-sift-through-text-with-regular-expressions" rel="nofollow">http://www.freecodecamp.com/challenges/waypoint-sift-through-text-with-regular-expressions</a> has an issue. Please describe how to reproduce it, and include links to screenshots if possible.</p>
<p dir="auto">"Regular expressions are usually surrounded by / symbols."</p>
<p dir="auto">In JavaScript, when are regular expressions <strong>not</strong> surrounded by forward slashes?</p>
<p dir="auto">"We can do this by replacing the .+ part of our regular expression with the current regular expression with the word and."</p>
<p dir="auto">... may be more clear as:</p>
<p dir="auto">"We can do this by replacing the .+ part of our regular expression with the word and+."</p>