title: async.parallel: Type Error, task is not a function
body: <p>What is wrong with this code ?</p>
  
  <pre><code>async = require("async");
  fs = require("fs")
  
  async.parallel(['calc.js','index.js'], fs.stat, function (err, results) {  
  if (err){
  console.log(err);
  }
  else{
      console.log(results);
  }
  });
  </code></pre>
  
  <p>When I try to run this little peice of code, I get the error mentioned below -</p>
  
  <pre><code>/home/gaurav/node-exp/node_modules/async/dist/async.js:4819
          task(rest(function (err, args) {
          ^
  
  TypeError: task is not a function
  </code></pre>
  
  <p>I was following a nodejs tutorial and I am very new to node js so pardon me if the question is very naive</p>