title: Pass parameter to EventEmitter.on method in node.js
body: <p>I have just  started exploring node.js and below is situation with me while learning events handling in node.js.</p>
  
  <p>I have an event 'loop' and a function 'myLoopHandler' attached to it using the method</p>
  
  <pre><code>eventEmitter.on('loop',myLoopHandler);
  </code></pre>
  
  <p>And the myLoopHandler is defined as follows:</p>
  
  <pre><code>var myLoopHandler = function(){
  for(i=1;i&lt;=30;i++)
      console.log(i);
  }
  </code></pre>
  
  <p>And then I emit the event 'loop' :</p>
  
  <pre><code>eventEmitter.emit('loop');
  </code></pre>
  
  <p>How do I pass some parameter to the myLoopHandler function in eventEmitter.on method?</p>
  
  <p>I am open to any other way of  achieving the same.</p>