Why return a function instead of just running that function again (recursion)? : <p>If I want to run my function again inside that same function when a certain condition is met, what's the difference between returning that function VS just calling that function again.</p>

<pre><code>function myFunc(param) {
  if (param === "3") {
     return myFunc(param);
  }
}
</code></pre>

<p>VS</p>

<pre><code>function myFunc(param) {
  if (param === "3") {
     myFunc(param);
  }
} 
</code></pre>
