title: Node.js, For loop
body: <p>in node.js I am using for loop on server.js but it is not working and cause error</p>
  
  <pre><code>var myEasyrtcApp = function(err, appObj) {
  for (i = 0; i &lt; 10; i++) {
  appObj.createRoom("room" + i ,null,function(err, roomObj){});
  };
  }
  </code></pre>
  
  <p>Please advice how can I use for loop to call appObj.createRoom several time to open different conference room</p>