Recursive function in javascript
<pre><code>var DynamicModelView = {          
    createModelView: function (obj,vitalslength,headerValue) {     
      for(vitalsCount = 0, vitalsLen = vitalslength; vitalsCount &lt; vitalsLen; vitalsCount++) {
              // Business logic... with obj and headerValue

       }       

      I need to call this function again.    
      When i call `this.createModelView(arguements)` it keeps on executing... 
    }            
}
</code></pre>

<p>I need execute the function based on the count... the for loop executes perfectly based on the count, but the function executes only once. </p>
