title: Access private function in Node Module
body: <p>I have a function exposed through <code>export</code> in a node module I'm building.  I'd like to be able to have that function call an internal (private) function within the same module.</p>
  
  <p>So far I have something like:</p>
  
  <blockquote>
    <p>someModule.js</p>
  </blockquote>
  
  <pre><code>var publicFunc = function(a, b) {
    var obj = {result: 'of some processing'};
    return privateFunc(obj);
  }
  
  var privateFunc = function(obj) {
    /* proccessing */
    return result;
  }
  
  exports.publicFunc = publicFunc;
  </code></pre>
  
  <p>When <code>publicFunc</code> calls <code>privateFunc</code> I get: </p>
  
  <blockquote>
    <p>Reference error: privateFunc is not defined;</p>
  </blockquote>