title: Creating a variable, with a variable in an each loop - jQuery
body: <p>I'm having some difficulty creating a variable with another variable in jQuery. I don't know how to write the var side of the equation. Here's what I'm trying to create:</p>
  
  <pre><code>var $counter= 0;
      $('.selector').each(function(){
         $counter += 1;
         var newVariable-($counter) // this is where I'd like to create the new  
                                    // variable with the number from $counter at the end.
      });
  </code></pre>
  
  <p>with the goal to creating:</p>
  
  <pre><code>newVariable-1
  newVariable-2
  newVariable-3... 
  </code></pre>
  
  <p>and so on...</p>