title: Increment the name of variable
body: <p>Basically I want to increment the name of the variable. What is the correct syntax to do this? </p>
  
  <pre><code>for (i=0; i&lt;5; i++) {
      eval("var slider_" + i);
  
      var slider_+i = function(){
      //some code
  }
  
  dojo.addOnLoad(slider_+i);
  </code></pre>