title: Why can't I create a closure in nodejs a module
body: <p>I'm trying to make the following nodejs module:</p>
  
  <pre><code>exports.method = function () {      
    var init = true;
  
    return function (args) {
       console.dir(args);
    };
  };
  </code></pre>
  
  <p>But when I invoke this method I don't get console message:</p>
  
  <pre><code>require('./module.js').method({test: 1});
  </code></pre>
  
  <p>It returns a function instead of invoking it.    </p>